Commit 27779425 authored by Random-Liu's avatar Random-Liu

Use the right waiting time for eventually.

parent 83035a52
......@@ -202,7 +202,7 @@ var _ = framework.KubeDescribe("NodeProblemDetector", func() {
By("Make sure the default node condition is generated")
Eventually(func() error {
return verifyCondition(c.Nodes(), node.Name, condition, api.ConditionFalse, defaultReason, defaultMessage)
}, pollConsistent, pollInterval).Should(Succeed())
}, pollTimeout, pollInterval).Should(Succeed())
num := 3
By(fmt.Sprintf("Inject %d temporary errors", num))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment