File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -581,6 +581,11 @@ func generateGCETestSkip(testParams *testParameters) string {
581
581
skipString = skipString + "|\\ [LinuxOnly\\ ]"
582
582
}
583
583
584
+ // Snapshot and restore test fixes were introduced after 1.26.
585
+ if v .LessThan (apimachineryversion .MustParseSemantic ("1.26.0" )) {
586
+ skipString = skipString + "|should.provision.correct.filesystem.size.when.restoring.snapshot.to.larger.size.pvc"
587
+ }
588
+
584
589
return skipString
585
590
}
586
591
@@ -598,6 +603,11 @@ func generateGKETestSkip(testParams *testParameters) string {
598
603
skipString = skipString + "|pvc.data.source"
599
604
}
600
605
606
+ // Snapshot and restore test fixes were introduced after 1.26.
607
+ if curVer .lessThan (mustParseVersion ("1.26.0" )) || (nodeVer != nil && nodeVer .lessThan (mustParseVersion ("1.26.0" ))) {
608
+ skipString = skipString + "|should.provision.correct.filesystem.size.when.restoring.snapshot.to.larger.size.pvc"
609
+ }
610
+
601
611
// "volumeMode should not mount / map unused volumes in a pod" tests a
602
612
// (https://github.com/kubernetes/kubernetes/pull/81163)
603
613
// bug-fix introduced in 1.16
You can’t perform that action at this time.
0 commit comments