Skip to content

Commit 07c5427

Browse files
committed
ic: validation: fix heterogeneous unit tests
AWS and GCP now allow multi-arch clusters. Other platforms do not.
1 parent 9ddfb06 commit 07c5427

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/types/validation/installconfig_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,7 @@ func TestValidateInstallConfig(t *testing.T) {
14101410
name: "cluster is not heteregenous",
14111411
installConfig: func() *types.InstallConfig {
14121412
c := validInstallConfig()
1413+
c.Platform = types.Platform{Azure: validAzureStackPlatform()}
14131414
c.Compute[0].Architecture = types.ArchitectureARM64
14141415
return c
14151416
}(),
@@ -1420,8 +1421,6 @@ func TestValidateInstallConfig(t *testing.T) {
14201421
installConfig: func() *types.InstallConfig {
14211422
c := validInstallConfig()
14221423
c.Compute[0].Architecture = types.ArchitectureARM64
1423-
c.FeatureSet = "CustomNoUpgrade"
1424-
c.FeatureGates = []string{"MultiArchInstallAWS=true"}
14251424
return c
14261425
}(),
14271426
},
@@ -1431,8 +1430,6 @@ func TestValidateInstallConfig(t *testing.T) {
14311430
c := validInstallConfig()
14321431
c.Platform = types.Platform{GCP: validGCPPlatform()}
14331432
c.Compute[0].Architecture = types.ArchitectureARM64
1434-
c.FeatureSet = "CustomNoUpgrade"
1435-
c.FeatureGates = []string{"MultiArchInstallGCP=true"}
14361433
return c
14371434
}(),
14381435
},

0 commit comments

Comments
 (0)