From b80acc39a0a5dbb528877569d8ca06b48303a74a Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Fri, 25 Sep 2020 16:01:21 -0700 Subject: [PATCH] Disable one subpath test for windows Disable subpath test "should be able to unmount after the subpath directory is deleted" for windows because the test will fail when deleting a dir while another container still use it. --- test/e2e/storage/testsuites/subpath.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/storage/testsuites/subpath.go b/test/e2e/storage/testsuites/subpath.go index 5de82f8853d..4704bdf0b90 100644 --- a/test/e2e/storage/testsuites/subpath.go +++ b/test/e2e/storage/testsuites/subpath.go @@ -436,7 +436,9 @@ func (s *subPathTestSuite) DefineTests(driver TestDriver, pattern testpatterns.T testPodFailSubpath(f, l.pod, true) }) - ginkgo.It("should be able to unmount after the subpath directory is deleted", func() { + // Set this test linux-only because the test will fail in Windows when + // deleting a dir from one container while another container still use it. + ginkgo.It("should be able to unmount after the subpath directory is deleted [LinuxOnly]", func() { init() defer cleanup()