Skip to content

Commit a4c9970

Browse files
authored
Merge pull request #1030 from mattcary/skew
Skip node skew tests using ephemeral containers
2 parents bd22e25 + a22e2ef commit a4c9970

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/k8s-integration/main.go

+9
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,15 @@ func generateGKETestSkip(testParams *testParameters) string {
620620
(!testParams.useGKEManagedDriver && (*curVer).lessThan(mustParseVersion("1.17.0"))) {
621621
skipString = skipString + "|VolumeSnapshotDataSource"
622622
}
623+
624+
// Starting in 1.23, the storage framework uses ephemeral containers for
625+
// testing data written to a pod. This is enabled by looking only at the
626+
// control plane, so it breaks on node skew tests when ephemeral containers
627+
// exist in the API but aren't supported on the node.
628+
if nodeVer != nil && nodeVer.lessThan(mustParseVersion("1.23.0")) && mustParseVersion("1.23.0").lessThan(curVer) {
629+
skipString = skipString + "|volumes.should.store.data|provisioning.should.provision.storage.with.snapshot.data.source"
630+
}
631+
623632
return skipString
624633
}
625634

0 commit comments

Comments
 (0)