From b90ef213aff2597c1c0649b444c1f12568d7c973 Mon Sep 17 00:00:00 2001 From: Michelle Au Date: Tue, 5 Mar 2019 18:31:27 -0800 Subject: [PATCH] don't check for container status ready in subpath test --- 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 adfb87e78a..674e98a79e 100644 --- a/test/e2e/storage/testsuites/subpath.go +++ b/test/e2e/storage/testsuites/subpath.go @@ -745,8 +745,6 @@ func waitForPodSubpathError(f *framework.Framework, pod *v1.Pod, allowContainerT // 0 is the container that uses subpath if status.Name == subpathContainerName { switch { - case status.State.Running != nil: - return false, fmt.Errorf("subpath container unexpectedly became running") case status.State.Terminated != nil: if status.State.Terminated.ExitCode != 0 && allowContainerTerminationError { return true, nil