From 27779425e38f3ef0c080bf32d5b34267fc06f351 Mon Sep 17 00:00:00 2001 From: Random-Liu Date: Fri, 2 Sep 2016 16:01:53 -0700 Subject: [PATCH] Use the right waiting time for eventually. --- test/e2e/node_problem_detector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node_problem_detector.go b/test/e2e/node_problem_detector.go index 924e11c5fad..7b4f1eb83b1 100644 --- a/test/e2e/node_problem_detector.go +++ b/test/e2e/node_problem_detector.go @@ -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))