Skip to content

Commit

Permalink
disable istio tests in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
songjiaxun committed Mar 15, 2024
1 parent da5124b commit c133f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/testsuites/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ type gcsFuseCSIIstioTestSuite struct {
tsInfo storageframework.TestSuiteInfo
}

// InitGcsFuseCSIIstioTestSuite returns gcsFuseCSIVolumesTestSuite that implements TestSuite interface.
// InitGcsFuseCSIIstioTestSuite returns gcsFuseCSIIstioTestSuite that implements TestSuite interface.
func InitGcsFuseCSIIstioTestSuite() storageframework.TestSuite {
return &gcsFuseCSIIstioTestSuite{
tsInfo: storageframework.TestSuiteInfo{
Name: "volumes",
Name: "istio",
TestPatterns: []storageframework.TestPattern{
storageframework.DefaultFsCSIEphemeralVolume,
storageframework.DefaultFsPreprovisionedPV,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/utils/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func generateTestSkip(testParams *TestParameters) string {

// TODO(songjiaxun) remove this logic after the next CSI driver release.
if testParams.UseGKEManagedDriver {
skipTests = append(skipTests, "Pod.RestartPolicy.is.OnFailure$", "Job.with.RestartPolicy.OnFailure.eventually.succeed", "fast.termination", "fileCache", "gcsfuseIntegrationFileCache", "init.container")
skipTests = append(skipTests, "Pod.RestartPolicy.is.OnFailure$", "Job.with.RestartPolicy.OnFailure.eventually.succeed", "fast.termination", "fileCache", "gcsfuseIntegrationFileCache", "init.container", "istio")

if strings.HasPrefix(testParams.GkeClusterVersion, "1.29") && testParams.SupportsNativeSidecar {
skipTests = append(skipTests, "autoTermination", "custom.sidecar.container")
Expand Down

0 comments on commit c133f5f

Please sign in to comment.