From 790de995f35c53b79d0f5d7bf65e3bf1d0c5a197 Mon Sep 17 00:00:00 2001 From: Masaki Kimura Date: Mon, 26 Nov 2018 17:29:25 +0000 Subject: [PATCH] Fix testPodFailSubpathError to make only WaitTimeoutForPodEvent wait --- test/e2e/storage/testsuites/subpath.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/e2e/storage/testsuites/subpath.go b/test/e2e/storage/testsuites/subpath.go index 619b1d545a0..b87cf85a7a1 100644 --- a/test/e2e/storage/testsuites/subpath.go +++ b/test/e2e/storage/testsuites/subpath.go @@ -587,8 +587,6 @@ func testPodFailSubpathError(f *framework.Framework, pod *v1.Pod, errorMsg strin defer func() { framework.DeletePodWithWait(f, f.ClientSet, pod) }() - err = framework.WaitForPodRunningInNamespace(f.ClientSet, pod) - Expect(err).To(HaveOccurred(), "while waiting for pod to be running") By("Checking for subpath error event") selector := fields.Set{