Skip to content

Commit b80acc3

Browse files
committed
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.
1 parent f99ed92 commit b80acc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/storage/testsuites/subpath.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,9 @@ func (s *subPathTestSuite) DefineTests(driver TestDriver, pattern testpatterns.T
436436
testPodFailSubpath(f, l.pod, true)
437437
})
438438

439-
ginkgo.It("should be able to unmount after the subpath directory is deleted", func() {
439+
// Set this test linux-only because the test will fail in Windows when
440+
// deleting a dir from one container while another container still use it.
441+
ginkgo.It("should be able to unmount after the subpath directory is deleted [LinuxOnly]", func() {
440442
init()
441443
defer cleanup()
442444

0 commit comments

Comments
 (0)