-
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
Add test to notice upstream changes in group perferred versions #14016
Add test to notice upstream changes in group perferred versions #14016
Conversation
[test] |
@@ -25,6 +26,31 @@ import ( | |||
configapi "github.com/openshift/origin/pkg/cmd/server/api" | |||
) | |||
|
|||
var expectedGroupPreferredVersions []string = []string{ | |||
"apps/v1beta1,authentication.k8s.io/v1", |
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.
one version per line for readability
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.
if the order isn't significant (I can't remember if it is), then sort both lists
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.
What we get back from AllPreferredGroupVersions is sorted already. Will add a comment above to keep it sorted.
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.
done
a couple nits, LGTM otherwise |
2d5274d
to
53d2d11
Compare
[merge] |
Flake #12927 |
[test] |
Evaluated for origin test up to 53d2d11 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1248/) (Base Commit: 5468a46) |
[merge] |
1 similar comment
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1248/) (Base Commit: 5468a46) (Image: devenv-rhel7_6217) |
Evaluated for origin merge up to 53d2d11 |
test fixes. approved. |
Fixes #13653 (comment).