mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
gomega forces Eventually
to apply a default timeout even when a context is provided.
This commit is contained in:
parent
80b1a29786
commit
f36042dc5c
@ -510,6 +510,7 @@ func AfterReadingAllFlags(t *TestContextType) {
|
|||||||
gomega.SetDefaultConsistentlyPollingInterval(t.timeouts.Poll)
|
gomega.SetDefaultConsistentlyPollingInterval(t.timeouts.Poll)
|
||||||
gomega.SetDefaultEventuallyTimeout(t.timeouts.PodStart)
|
gomega.SetDefaultEventuallyTimeout(t.timeouts.PodStart)
|
||||||
gomega.SetDefaultConsistentlyDuration(t.timeouts.PodStartShort)
|
gomega.SetDefaultConsistentlyDuration(t.timeouts.PodStartShort)
|
||||||
|
gomega.EnforceDefaultTimeoutsWhenUsingContexts()
|
||||||
|
|
||||||
// ginkgo.PreviewSpecs will expand all nodes and thus may find new bugs.
|
// ginkgo.PreviewSpecs will expand all nodes and thus may find new bugs.
|
||||||
report := ginkgo.PreviewSpecs("Kubernetes e2e test statistics")
|
report := ginkgo.PreviewSpecs("Kubernetes e2e test statistics")
|
||||||
|
Loading…
Reference in New Issue
Block a user