Skip to content

Commit

Permalink
Change to defaultConsistentlyDuration in case23
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <yikim@redhat.com>
  • Loading branch information
yiraeChristineKim authored and openshift-merge-bot[bot] committed Nov 14, 2023
1 parent 30d1181 commit fd635c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/case20_delete_objects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ var _ = Describe("Test Object deletion", Ordered, func() {
case20PodName, "default", true, defaultTimeoutSeconds)

return pod
}, 30, 1).Should(Not(BeNil()))
}, defaultTimeoutSeconds, 1).Should(Not(BeNil()))
By("Creating " + case20ConfigPolicyNameExisting + " on managed")
utils.Kubectl("apply", "-f", case20PolicyYamlExisting, "-n", testNamespace)
plc := utils.GetWithTimeout(clientManagedDynamic, gvrConfigPolicy,
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/case23_invalid_field_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var _ = Describe("Test an objectDefinition with an invalid field", Ordered, func
}

return startTime.After(compPlcEvents[len(compPlcEvents)-1].LastTimestamp.Time)
}, 30, 1).Should(BeTrue())
}, defaultConsistentlyDuration, 1).Should(BeTrue())

By("Verifying the message is correct when the " + configMapName + " ConfigMap already exists")
configmap := &corev1.ConfigMap{
Expand Down Expand Up @@ -118,7 +118,7 @@ var _ = Describe("Test an objectDefinition with an invalid field", Ordered, func
}

return alreadyExistsStartTime.After(compPlcEvents[len(compPlcEvents)-1].LastTimestamp.Time)
}, 30, 1).Should(BeTrue())
}, defaultConsistentlyDuration, 1).Should(BeTrue())
})

AfterAll(func() {
Expand Down

0 comments on commit fd635c8

Please sign in to comment.