-
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
UPSTREAM: 58466: tolerate more than one gvklist item #18157
UPSTREAM: 58466: tolerate more than one gvklist item #18157
Conversation
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.
lgtm, let's wait for the upstream to approve it and this can merge afterwards as well.
d34c70d
to
dbfa23f
Compare
Updated to keep on par with changes in upstream PR |
Origin resources, like deployment configs, are part of two api groups - the legacy "empty" group, and, in cases like deploymentconfigs, the "apps.openshift.io" group.
dbfa23f
to
845259a
Compare
/test extended_conformance_install |
@soltysh upstream has merged, ptal |
/test extended_conformance_install |
1 similar comment
/test extended_conformance_install |
/retest |
/test cmd |
1 similar comment
/test cmd |
2ac29e5
to
2e29c9c
Compare
/lgtm |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juanvallejo, mfojtik The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue. |
|
||
# Cleanup cluster resources created by this test | ||
( | ||
set +e |
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.
Why set +e
if we it can be written as:
oc delete all,templates --all || :
?
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.
I followed the pattern seen in other tests: https://github.com/openshift/origin/blob/master/test/cmd/builds.sh#L7
) &>/dev/null | ||
|
||
|
||
os::test::junit::declare_suite_start "cmd/explain" |
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.
Use single quotes here, for consistency with other places.
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.
We seem to use double quotes in other tests [1][2][3][4]
- https://github.com/openshift/origin/blob/master/test/cmd/builds.sh#L16
- https://github.com/openshift/origin/blob/master/test/cmd/annotations.sh#L13
- https://github.com/openshift/origin/blob/master/test/cmd/deployments.sh#L13
- https://github.com/openshift/origin/blob/master/test/cmd/env.sh#L5
Fixes #17872
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536845
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1529447
Origin resources, like deployment configs, are part of two api groups -
the legacy "empty" group, and, in cases like deploymentconfigs, the
"apps.openshift.io" group.
Before
After
cc @deads2k @soltysh