-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deployer controller: ensure phase direction #8417
Conversation
[test] |
for _, test := range tests { | ||
got := CanTransitionPhase(test.current, test.next) | ||
if got != test.expected { | ||
t.Errorf("%s: expected %t, got %t", test.expected, got) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing test name here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Approved
|
What invalid transition was possible prior to this change? |
See #8403 (comment) |
Any other comments here? |
Unit tests failed
|
unit test fixed |
LGTM |
Evaluated for origin test up to e69b1ff |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/2878/) |
extended test failure seems unrelated
|
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5556/) (Image: devenv-rhel7_3947) |
Evaluated for origin merge up to e69b1ff |
Found out in #8403
Fixes #8403 in conjunction with #8418
@smarterclayton @ironcladlou @pweil- PTAL