mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Disable kubelet restart tests for file volmode
Change-Id: I016cba4aba11d6e8574d4bc2d1f26284a068e562
This commit is contained in:
@@ -39,6 +39,10 @@ func InitDisruptiveTestSuite() TestSuite {
|
||||
featureTag: "[Disruptive]",
|
||||
testPatterns: []testpatterns.TestPattern{
|
||||
// FSVolMode is already covered in subpath testsuite
|
||||
testpatterns.DefaultFsInlineVolume,
|
||||
testpatterns.FsVolModePreprovisionedPV,
|
||||
testpatterns.FsVolModeDynamicPV,
|
||||
testpatterns.BlockVolModePreprovisionedPV,
|
||||
testpatterns.BlockVolModePreprovisionedPV,
|
||||
testpatterns.BlockVolModeDynamicPV,
|
||||
},
|
||||
@@ -123,17 +127,18 @@ func (s *disruptiveTestSuite) defineTests(driver TestDriver, pattern testpattern
|
||||
},
|
||||
{
|
||||
testItStmt: "Should test that pv used in a pod that is deleted while the kubelet is down cleans up when the kubelet returns.",
|
||||
runTestFile: utils.TestVolumeUnmountsFromDeletedPod,
|
||||
// File test is covered by subpath testsuite
|
||||
runTestBlock: utils.TestVolumeUnmapsFromDeletedPod,
|
||||
},
|
||||
{
|
||||
testItStmt: "Should test that pv used in a pod that is force deleted while the kubelet is down cleans up when the kubelet returns.",
|
||||
runTestFile: utils.TestVolumeUnmountsFromForceDeletedPod,
|
||||
// File test is covered by subpath testsuite
|
||||
runTestBlock: utils.TestVolumeUnmapsFromForceDeletedPod,
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range disruptiveTestTable {
|
||||
if test.runTestFile != nil {
|
||||
func(t disruptiveTest) {
|
||||
ginkgo.It(t.testItStmt, func() {
|
||||
init()
|
||||
@@ -159,4 +164,5 @@ func (s *disruptiveTestSuite) defineTests(driver TestDriver, pattern testpattern
|
||||
})
|
||||
}(test)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user