Skip to content

Commit 2ae2adf

Browse files
Merge pull request #29289 from ardaguclu/ocpbugs-42532
OCPBUGS-42532: Revert loosened policy test
2 parents f355db7 + 27068ba commit 2ae2adf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: test/extended/cli/policy.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var _ = g.Describe("[sig-cli] policy", func() {
3535

3636
out, err = oc.Run("policy", "scc-subject-review").Args("-f", simpleDeployment, "-o=jsonpath={.status.allowedBy.name}").Output()
3737
o.Expect(err).NotTo(o.HaveOccurred())
38-
// it should be o.Equal but temporarily we need to eliminate the warning message prepended to the output.
39-
o.Expect(out).To(o.HaveSuffix("restricted-v2"))
38+
o.Expect(out).To(o.Equal("restricted-v2"))
4039
})
4140
})

0 commit comments

Comments
 (0)