mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Use the right waiting time for eventually.
This commit is contained in:
@@ -202,7 +202,7 @@ var _ = framework.KubeDescribe("NodeProblemDetector", func() {
|
|||||||
By("Make sure the default node condition is generated")
|
By("Make sure the default node condition is generated")
|
||||||
Eventually(func() error {
|
Eventually(func() error {
|
||||||
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
|
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
|
||||||
}, pollConsistent, pollInterval).Should(Succeed())
|
}, pollTimeout, pollInterval).Should(Succeed())
|
||||||
|
|
||||||
num := 3
|
num := 3
|
||||||
By(fmt.Sprintf("Inject %d temporary errors", num))
|
By(fmt.Sprintf("Inject %d temporary errors", num))
|
||||||
|
Reference in New Issue
Block a user