From 42f78c4231ddab6098a4b46e2534bc2d3a836a92 Mon Sep 17 00:00:00 2001 From: Jiaxun Song Date: Wed, 19 Oct 2022 22:37:09 +0000 Subject: [PATCH] Skip multiple PV test in node skew test --- test/k8s-integration/main.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/k8s-integration/main.go b/test/k8s-integration/main.go index 444d22099..52c03c0b9 100644 --- a/test/k8s-integration/main.go +++ b/test/k8s-integration/main.go @@ -638,6 +638,14 @@ func generateGKETestSkip(testParams *testParameters) string { skipString = skipString + "|volumes.should.store.data|provisioning.should.provision.storage.with.snapshot.data.source" } + // Starting in 1.24, the storage framework has a new test case: + // https://github.com/kubernetes/kubernetes/commit/4a076578451aa27e8ac60beec1fd3f23918c5331, + // which breaks the node skew tests when the node version + // is less than 1.24. + if nodeVer != nil && nodeVer.lessThan(mustParseVersion("1.24.0")) { + skipString = skipString + "|provisioning.should.mount.multiple.PV.pointing.to.the.same.storage.on.the.same.node" + } + return skipString }