Skip to content

Commit

Permalink
test check
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKuli committed Sep 20, 2023
1 parent 87bf0c8 commit 53c5ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/case34_enforce_w_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ var _ = Describe("Test compliance events of enforced policies that define a stat
nestedPlcName, testNamespace, true, defaultTimeoutSeconds)
Expect(nestedPlc.GetGeneration()).To(BeNumerically("==", 3))

By("Checking there is now a Compliant event on the policy")
By("DEBUGGING")
Eventually(func() interface{} {
return utils.GetMatchingEvents(clientManaged, testNamespace,
policyName, cfgPlcName, "^Compliant;", defaultTimeoutSeconds)
}, defaultTimeoutSeconds, 5).ShouldNot(BeEmpty())
policyName, cfgPlcName, ".*", defaultTimeoutSeconds)
}, defaultTimeoutSeconds, 5).Should(BeEmpty())
})

AfterAll(func() {
Expand Down
1 change: 1 addition & 0 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func init() {

var _ = BeforeSuite(func() {
format.TruncatedDiff = false
format.MaxLength = 0

By("Setup Hub client")
gvrPod = schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}
Expand Down

0 comments on commit 53c5ed7

Please sign in to comment.