Skip to content

Commit 7f879be

Browse files
authored
Merge pull request #4791 from anusha94/gt_one_infra_provider
🌱 Allow e2e tests to install more than one infra provider
2 parents e57f23a + d6b31bb commit 7f879be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/framework/clusterctl/e2e_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ func (c *E2EConfig) validateProviders() error {
482482
}
483483

484484
// There should be one InfraProvider (pick your own).
485-
if len(providersByType[clusterctlv1.InfrastructureProviderType]) != 1 {
486-
return errInvalidArg("invalid config: it is required to have exactly one infrastructure-provider")
485+
if len(providersByType[clusterctlv1.InfrastructureProviderType]) < 1 {
486+
return errInvalidArg("invalid config: it is required to have at least one infrastructure-provider")
487487
}
488488
return nil
489489
}

0 commit comments

Comments
 (0)