Skip to content

Commit 1f4db9e

Browse files
dhaiducekopenshift-merge-bot[bot]
authored andcommitted
Adjust Gk event check
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
1 parent e595bed commit 1f4db9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/compliance_history_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,8 @@ var _ = Describe("GRC: [P1][Sev1][policy-grc] Test the compliance history API",
536536
// last `policyToEventDetails` in order to try and understand the current state.
537537
*debugMsg = fmt.Sprintf("Current 'policyToEventDetails': %v", policyToEventDetails)
538538

539-
// Ensure the ConstraintTemplate has 1 event
540-
g.Expect(policyToEventDetails["complianceapitest"]).To(HaveLen(1))
539+
// Ensure the ConstraintTemplate has 3 events
540+
g.Expect(policyToEventDetails["complianceapitest"]).To(HaveLen(3))
541541
msg := policyToEventDetails["complianceapitest"][0]["message"]
542542
g.Expect(policyToEventDetails["complianceapitest"][0]["compliance"]).To(
543543
Equal("Compliant"),

0 commit comments

Comments
 (0)