Skip to content

Commit a466890

Browse files
committed
Skip snapshot and restore test because test fix (kubernetes-sigs#972) is not backported to 1.8-. The fix is only in 1.9+.
1 parent 6c779af commit a466890

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/k8s-integration/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,11 @@ func generateGKETestSkip(testParams *testParameters) string {
598598
skipString = skipString + "|pvc.data.source"
599599
}
600600

601+
// Snapshot and restore test fixes were introduced after 1.26 in PR#972.
602+
if curVer.lessThan(mustParseVersion("1.26.0")) {
603+
skipString = skipString + "|should.provision.correct.filesystem.size.when.restoring.snapshot.to.larger.size.pvc"
604+
}
605+
601606
// "volumeMode should not mount / map unused volumes in a pod" tests a
602607
// (https://github.com/kubernetes/kubernetes/pull/81163)
603608
// bug-fix introduced in 1.16

0 commit comments

Comments
 (0)