From c9574560cc034e3d2fe33e67ea69a76c71262cc0 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Thu, 1 Oct 2015 16:51:41 -0700 Subject: [PATCH] make update period for Node not a multiple of 5 --- test/e2e/daemon_set.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/daemon_set.go b/test/e2e/daemon_set.go index b682a766b80..c477e5cf9a1 100644 --- a/test/e2e/daemon_set.go +++ b/test/e2e/daemon_set.go @@ -37,7 +37,9 @@ import ( ) const ( - updateRetryPeriod = 5 * time.Second + // this should not be a multiple of 5, because node status updates + // every 5 seconds. See https://github.com/kubernetes/kubernetes/pull/14915. + updateRetryPeriod = 2 * time.Second updateRetryTimeout = 30 * time.Second daemonsetLabelPrefix = "daemonset-" daemonsetNameLabel = daemonsetLabelPrefix + "name"