-
Notifications
You must be signed in to change notification settings - Fork 4.7k
show namespace for custom strategy bc #10340
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
show namespace for custom strategy bc #10340
Conversation
[test] |
os::cmd::expect_success 'oc create -f examples/sample-app/application-template-custombuild.json' | ||
os::cmd::expect_failure_and_text 'oc new-app ruby-helloworld-sample' 'deploymentconfig "frontend" created' | ||
os::cmd::expect_success_and_text 'oc get all --all-namespaces' 'cmd-basicresources[\ ]+bc\/ruby\-sample\-build' | ||
echo "resource printer namespace handling: ok" |
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.
Instead of adding new tests to this suite, let's break out resource printer tests from basicresources
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.
Will do, I can make a new PR that does this
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.
Add it to this one
LGTM |
@fabianofranz hold on... we need to be treating our tests better. More tests should not go into |
Done! |
trap os::test::junit::reconcile_output EXIT | ||
|
||
# Test that resource printer includes resource kind on multiple resources | ||
os::test::junit::declare_suite_start "cmd/basicresources/get" |
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 this is a suite for the resource printer, I think we should rename it that instead of get
7e27a34
to
3359206
Compare
LGTM [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7811/) (Image: devenv-rhel7_4807) |
Evaluated for origin merge up to 3359206 |
@openshift-bot, the last build failed from the following flakes:
re[test] |
Evaluated for origin test up to 3359206 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7811/) |
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1365460
If there is a
bc
using a custom strategy,oc get all --all-namespaces
does not show namespace for thatbc
.cc @fabianofranz