Skip to content

Commit f566887

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 538564b commit f566887

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
@@ -523,8 +523,8 @@ var _ = Describe("GRC: [P1][Sev1][policy-grc] Test the compliance history API",
523523
// last `policyToEventDetails` in order to try and understand the current state.
524524
*debugMsg = fmt.Sprintf("Current 'policyToEventDetails': %v", policyToEventDetails)
525525

526-
// Ensure the ConstraintTemplate has 1 event
527-
g.Expect(policyToEventDetails["complianceapitest"]).To(HaveLen(1))
526+
// Ensure the ConstraintTemplate has 3 events
527+
g.Expect(policyToEventDetails["complianceapitest"]).To(HaveLen(3))
528528
msg := policyToEventDetails["complianceapitest"][0]["message"]
529529
g.Expect(policyToEventDetails["complianceapitest"][0]["compliance"]).To(
530530
Equal("Compliant"),

0 commit comments

Comments
 (0)