Disable local block volume reconstruction test

Quite hacky, hoping to fix the volume plugin soon.
This commit is contained in:
Jan Safranek
2019-10-15 13:59:36 +02:00
parent 1679bed803
commit 7c240a18b6

View File

@@ -51,6 +51,7 @@ func InitDisruptiveTestSuite() TestSuite {
},
}
}
func (s *disruptiveTestSuite) getTestSuiteInfo() TestSuiteInfo {
return s.tsInfo
}
@@ -145,6 +146,12 @@ func (s *disruptiveTestSuite) defineTests(driver TestDriver, pattern testpattern
if (pattern.VolMode == v1.PersistentVolumeBlock && t.runTestBlock != nil) ||
(pattern.VolMode == v1.PersistentVolumeFilesystem && t.runTestFile != nil) {
ginkgo.It(t.testItStmt, func() {
if pattern.VolMode == v1.PersistentVolumeBlock && driver.GetDriverInfo().InTreePluginName == "kubernetes.io/local-volume" {
// TODO: https://github.com/kubernetes/kubernetes/issues/74552
framework.Skipf("Local volume volume plugin does not support block volume reconstruction (#74552)")
}
init()
defer cleanup()