Skip to content

Commit f36042d

Browse files
committed
gomega forces Eventually to apply a default timeout even when a context is provided.
1 parent 80b1a29 commit f36042d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/framework/test_context.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ func AfterReadingAllFlags(t *TestContextType) {
510510
gomega.SetDefaultConsistentlyPollingInterval(t.timeouts.Poll)
511511
gomega.SetDefaultEventuallyTimeout(t.timeouts.PodStart)
512512
gomega.SetDefaultConsistentlyDuration(t.timeouts.PodStartShort)
513+
gomega.EnforceDefaultTimeoutsWhenUsingContexts()
513514

514515
// ginkgo.PreviewSpecs will expand all nodes and thus may find new bugs.
515516
report := ginkgo.PreviewSpecs("Kubernetes e2e test statistics")

0 commit comments

Comments
 (0)