Skip to content

Commit a6d5a5e

Browse files
authored
Merge pull request #530 from siyanshen/hnw-mo
Skip tests for hostnetwork enabled pods on autopilot clusters
2 parents 347a050 + 737df71 commit a6d5a5e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/e2e/testsuites/volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ func (t *gcsFuseCSIVolumesTestSuite) DefineTests(driver storageframework.TestDri
346346
ginkgo.It("should store data using custom sidecar container image", func() {
347347
testCaseStoreDataCustomContainerImage("")
348348
})
349-
ginkgo.It("should gcsfuse process succeed without missing flag error for hostnetwork pods using custom sidecar container image", func() {
349+
ginkgo.It("should gcsfuse process succeed without missing flag error for hostnetwork enabled pods using custom sidecar container image", func() {
350350
testCaseStoreDataCustomContainerImage(specs.EnableHostNetworkPrefix)
351351
})
352352
ginkgo.It("[csi-skip-bucket-access-check] should store data using custom sidecar container image", func() {

test/e2e/utils/handler.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ func generateTestSkip(testParams *TestParameters) string {
244244
skipTests = append(skipTests, "long.mount.options")
245245
}
246246

247+
if testParams.UseGKEAutopilot {
248+
skipTests = append(skipTests, "hostnetwork.enabled.pods")
249+
}
250+
247251
if testParams.UseGKEManagedDriver {
248252
skipTests = append(skipTests, "metrics") // Skipping as these tests are known to be unstable
249253

0 commit comments

Comments
 (0)