mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #103937 from jingxu97/july/grace
Fix disruptive subPath test failures
This commit is contained in:
commit
d92b788faa
@ -235,9 +235,9 @@ func (h *hostpathCSIDriver) PrepareTest(f *framework.Framework) (*storageframewo
|
|||||||
// testsuites/volumelimits.go `should support volume limits`
|
// testsuites/volumelimits.go `should support volume limits`
|
||||||
// test.
|
// test.
|
||||||
"--maxvolumespernode=10",
|
"--maxvolumespernode=10",
|
||||||
// Enable volume lifecycle checks, to report failure if
|
// Disable volume lifecycle checks due to issue #103651
|
||||||
// the volume is not unpublished / unstaged correctly.
|
// TODO: enable this check once issue is resolved for csi-host-path driver.
|
||||||
"--check-volume-lifecycle=true",
|
"--check-volume-lifecycle=false",
|
||||||
},
|
},
|
||||||
ProvisionerContainerName: "csi-provisioner",
|
ProvisionerContainerName: "csi-provisioner",
|
||||||
SnapshotterContainerName: "csi-snapshotter",
|
SnapshotterContainerName: "csi-snapshotter",
|
||||||
|
@ -342,6 +342,11 @@ func (s *subPathTestSuite) DefineTests(driver storageframework.TestDriver, patte
|
|||||||
init()
|
init()
|
||||||
defer cleanup()
|
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)
|
testSubpathReconstruction(f, l.hostExec, l.pod, false)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user