Skip to content

Commit 7c240a1

Browse files
committed
Disable local block volume reconstruction test
Quite hacky, hoping to fix the volume plugin soon.
1 parent 1679bed commit 7c240a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/e2e/storage/testsuites/disruptive.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ func InitDisruptiveTestSuite() TestSuite {
5151
},
5252
}
5353
}
54+
5455
func (s *disruptiveTestSuite) getTestSuiteInfo() TestSuiteInfo {
5556
return s.tsInfo
5657
}
@@ -145,6 +146,12 @@ func (s *disruptiveTestSuite) defineTests(driver TestDriver, pattern testpattern
145146
if (pattern.VolMode == v1.PersistentVolumeBlock && t.runTestBlock != nil) ||
146147
(pattern.VolMode == v1.PersistentVolumeFilesystem && t.runTestFile != nil) {
147148
ginkgo.It(t.testItStmt, func() {
149+
150+
if pattern.VolMode == v1.PersistentVolumeBlock && driver.GetDriverInfo().InTreePluginName == "kubernetes.io/local-volume" {
151+
// TODO: https://github.com/kubernetes/kubernetes/issues/74552
152+
framework.Skipf("Local volume volume plugin does not support block volume reconstruction (#74552)")
153+
}
154+
148155
init()
149156
defer cleanup()
150157

0 commit comments

Comments
 (0)