diff --git a/e2e/resources/attachedcluster.go b/e2e/resources/attachedcluster.go index 063266d1..52c51fa3 100644 --- a/e2e/resources/attachedcluster.go +++ b/e2e/resources/attachedcluster.go @@ -85,5 +85,5 @@ func WaitAttachedClusterFitWith(client kurator.Interface, namespace, name string return false } return fit(attachedClusterPresentOnCluster) - }, pollTimeout, pollInterval).Should(gomega.Equal(true)) + }, pollTimeout, pollIntervalInHostCluster).Should(gomega.Equal(true)) } diff --git a/e2e/resources/constant.go b/e2e/resources/constant.go index ab219b09..1faeb185 100644 --- a/e2e/resources/constant.go +++ b/e2e/resources/constant.go @@ -19,8 +19,8 @@ package resources import "time" const ( - // pollInterval defines the interval time for a poll operation. - pollInterval = 5 * time.Second + // pollIntervalInHostCluster defines the interval time for a poll operation. + pollIntervalInHostCluster = 3 * time.Second // pollTimeout defines the time after which the poll operation times out. pollTimeout = 420 * time.Second )