Skip to content

Commit

Permalink
test: fix the validation of outbound-check-skipped (#5927)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingosummer authored Feb 26, 2025
1 parent cda3690 commit 885de5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions e2e/scenario_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Test_AzureLinuxV2_AirGap(t *testing.T) {
}
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -131,7 +131,7 @@ func Test_AzureLinuxV2_ARM64AirGap(t *testing.T) {
vmss.SKU.Name = to.Ptr("Standard_D2pds_V5")
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -338,7 +338,7 @@ func Test_MarinerV2_AirGap(t *testing.T) {
}
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -389,7 +389,7 @@ func Test_MarinerV2_ARM64AirGap(t *testing.T) {
vmss.SKU.Name = to.Ptr("Standard_D2pds_V5")
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -725,7 +725,7 @@ func Test_Ubuntu2204_AirGap(t *testing.T) {
}
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -762,7 +762,7 @@ func Test_Ubuntu2204_AirGap_NonAnonymousACR(t *testing.T) {
}
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand All @@ -787,7 +787,7 @@ func Test_Ubuntu2204Gen2_ContainerdAirgappedK8sNotCached(t *testing.T) {
}
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down Expand Up @@ -1427,7 +1427,7 @@ func Test_Ubuntu2204_WASMAirGap(t *testing.T) {
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateContainerdWASMShims(ctx, s)
ValidateDirectoryContent(ctx, s, "/var/run", []string{"outbound-check-skipped"})
ValidateDirectoryContent(ctx, s, "/run", []string{"outbound-check-skipped"})
},
},
})
Expand Down

0 comments on commit 885de5b

Please sign in to comment.