Skip to content

Commit 8048b98

Browse files
authored
Merge pull request #1065 from songjiaxun/master
Skip multiple PV test in node skew test
2 parents f7eb033 + 42f78c4 commit 8048b98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/k8s-integration/main.go

+8
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,14 @@ func generateGKETestSkip(testParams *testParameters) string {
638638
skipString = skipString + "|volumes.should.store.data|provisioning.should.provision.storage.with.snapshot.data.source"
639639
}
640640

641+
// Starting in 1.24, the storage framework has a new test case:
642+
// https://github.com/kubernetes/kubernetes/commit/4a076578451aa27e8ac60beec1fd3f23918c5331,
643+
// which breaks the node skew tests when the node version
644+
// is less than 1.24.
645+
if nodeVer != nil && nodeVer.lessThan(mustParseVersion("1.24.0")) {
646+
skipString = skipString + "|provisioning.should.mount.multiple.PV.pointing.to.the.same.storage.on.the.same.node"
647+
}
648+
641649
return skipString
642650
}
643651

0 commit comments

Comments
 (0)