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.
This commit is contained in:
Jing Xu 2020-09-25 16:01:21 -07:00
parent f99ed92ed1
commit b80acc39a0

View File

@ -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()