File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77 admissionapi "k8s.io/pod-security-admission/api"
88
99 exutil "github.com/openshift/origin/test/extended/util"
10+ "github.com/openshift/origin/test/extended/util/image"
1011)
1112
1213var _ = g .Describe ("[sig-imageregistry] Image --dry-run" , func () {
@@ -18,7 +19,7 @@ var _ = g.Describe("[sig-imageregistry] Image --dry-run", func() {
1819
1920 g .It ("should not delete resources [apigroup:image.openshift.io]" , func () {
2021 g .By ("preparing the image stream where the test image will be pushed" )
21- _ , err := oc .Run ("create " ).Args ("imagestreamtag " , "test:latest" , "--from=tools :latest" ).Output ()
22+ err := oc .Run ("tag " ).Args ("--source=docker " , image . ShellImage () , "test :latest" ).Execute ()
2223 o .Expect (err ).NotTo (o .HaveOccurred ())
2324
2425 err = exutil .WaitForAnImageStreamTag (oc , oc .Namespace (), "test" , "latest" )
You can’t perform that action at this time.
0 commit comments