diff --git a/test/e2e_node/device_plugin.go b/test/e2e_node/device_plugin.go index 3f03a851a44..2f928acb63b 100644 --- a/test/e2e_node/device_plugin.go +++ b/test/e2e_node/device_plugin.go @@ -235,7 +235,7 @@ func ensurePodContainerRestart(f *framework.Framework, podName string, contName currentCount = p.Status.ContainerStatuses[0].RestartCount framework.Logf("initial %v, current %v", initialCount, currentCount) return currentCount > initialCount - }, 2*time.Minute, framework.Poll).Should(BeTrue()) + }, 5*time.Minute, framework.Poll).Should(BeTrue()) } // parseLog returns the matching string for the specified regular expression parsed from the container logs. diff --git a/test/e2e_node/gpu_device_plugin.go b/test/e2e_node/gpu_device_plugin.go index d9ee9f52728..34fca3b1fab 100644 --- a/test/e2e_node/gpu_device_plugin.go +++ b/test/e2e_node/gpu_device_plugin.go @@ -54,7 +54,7 @@ var _ = framework.KubeDescribe("NVIDIA GPU Device Plugin [Feature:GPUDevicePlugi By("Waiting for GPUs to become available on the local node") Eventually(func() bool { return framework.NumberOfNVIDIAGPUs(getLocalNode(f)) > 0 - }, 10*time.Second, framework.Poll).Should(BeTrue()) + }, 5*time.Minute, framework.Poll).Should(BeTrue()) if framework.NumberOfNVIDIAGPUs(getLocalNode(f)) < 2 { Skip("Not enough GPUs to execute this test (at least two needed)") @@ -97,7 +97,7 @@ var _ = framework.KubeDescribe("NVIDIA GPU Device Plugin [Feature:GPUDevicePlugi framework.WaitForAllNodesSchedulable(f.ClientSet, framework.TestContext.NodeSchedulableTimeout) Eventually(func() bool { return framework.NumberOfNVIDIAGPUs(getLocalNode(f)) > 0 - }, 10*time.Second, framework.Poll).Should(BeTrue()) + }, 5*time.Minute, framework.Poll).Should(BeTrue()) p2 := f.PodClient().CreateSync(makeBusyboxPod(framework.NVIDIAGPUResourceName, podRECMD)) By("Checking that pods got a different GPU")