File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,8 @@ os::cmd::expect_success 'oc delete imagestreams --all'
437
437
438
438
# newapp does not attempt to create an imagestream that already exists for a Docker image
439
439
os::cmd::expect_success_and_text ' oc new-app docker.io/ruby:latest~https://github.com/sclorg/ruby-ex.git --name=testapp1 --strategy=docker' ' imagestream.image.openshift.io "ruby" created'
440
+ # make sure the ruby:latest tag is imported before we run new-app again
441
+ os::cmd::try_until_success ' oc get imagestreamtags ruby:latest'
440
442
os::cmd::expect_success_and_not_text ' oc new-app docker.io/ruby:latest~https://github.com/sclorg/ruby-ex.git --name=testapp2 --strategy=docker' ' "ruby:latest" already exists'
441
443
os::cmd::expect_success ' oc delete all -l app=testapp2'
442
444
os::cmd::expect_success ' oc delete all -l app=testapp1'
You can’t perform that action at this time.
0 commit comments