Skip to content

Commit

Permalink
Merge pull request #29289 from ardaguclu/ocpbugs-42532
Browse files Browse the repository at this point in the history
OCPBUGS-42532: Revert loosened policy test
  • Loading branch information
openshift-merge-bot[bot] authored Nov 16, 2024
2 parents f355db7 + 27068ba commit 2ae2adf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/extended/cli/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var _ = g.Describe("[sig-cli] policy", func() {

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

0 comments on commit 2ae2adf

Please sign in to comment.