From c37bf8c3cf17d3345fa0b85072e50f16d4fac585 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Tue, 27 Jul 2021 02:17:31 -0700 Subject: [PATCH] Fix disruptive subPath test failures This PR fixes two distruptive subpath test failures. 1. disable --check-volume-lifecycle check 2. skip hostpath driver tests on graceful pod deletion test too. See details in https://github.com/kubernetes/kubernetes/issues/103651#issuecomment-887227562 Change-Id: Ibecd051be865feea5f2a92d22ade848367400939 --- test/e2e/storage/testsuites/subpath.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/storage/testsuites/subpath.go b/test/e2e/storage/testsuites/subpath.go index bb853aa3383fa..baf08f1e8fb64 100644 --- a/test/e2e/storage/testsuites/subpath.go +++ b/test/e2e/storage/testsuites/subpath.go @@ -346,6 +346,11 @@ func (s *subPathTestSuite) DefineTests(driver storageframework.TestDriver, patte init() defer cleanup() + if strings.HasPrefix(driverName, "hostPath") { + // TODO: This skip should be removed once #61446 is fixed + e2eskipper.Skipf("Driver %s does not support reconstruction, skipping", driverName) + } + testSubpathReconstruction(f, l.hostExec, l.pod, false) })