Skip to content

Commit 02878b3

Browse files
committed
OCPBUGS-44633: fix tests replacing apply to create
1 parent 8c6cbf9 commit 02878b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/builds/subscription_content.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var _ = g.Describe("[sig-builds][Feature:Builds][subscription-content] builds in
5151
// Run oc commands as per the openshift documentation
5252
stdOut, _, err := oc.AsAdmin().Run("get").Args("secret", "etc-pki-entitlement", "-n", "openshift-config-managed", "-o=go-template-file", "--template", secretTemplate).Outputs()
5353
o.Expect(err).NotTo(o.HaveOccurred(), "getting secret openshift-config-managed/etc-pki-entitlement")
54-
err = oc.Run("apply").Args("-f", "-").InputString(stdOut).Execute()
54+
err = oc.Run("create").Args("-f", "-").InputString(stdOut).Execute()
5555
o.Expect(err).NotTo(o.HaveOccurred(), "creating secret etc-pki-entitlement")
5656

5757
g.By("setting up build outputs")

0 commit comments

Comments
 (0)