Merge pull request #83946 from jsafrane/disable-local-reconstruction

Disable local block volume reconstruction test
This commit is contained in:
Kubernetes Prow Robot
2019-10-16 09:36:08 -07:00
committed by GitHub

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()