Skip to content

Commit

Permalink
Add e2e moid test
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz committed Oct 28, 2024
1 parent ef228cd commit 3005d40
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/e2e/quick_start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ var _ = Describe("Cluster Creation using Cluster API quick-start test [vcsim] [s
})
})

var _ = Describe("Cluster Creation using Cluster API quick-start test and MOID [vcsim]", func() {
const specName = "quick-start" // copied from CAPI
Setup(specName, func(testSpecificSettingsGetter func() testSettings) {
capi_e2e.QuickStartSpec(ctx, func() capi_e2e.QuickStartSpecInput {
return capi_e2e.QuickStartSpecInput{
E2EConfig: e2eConfig,
ClusterctlConfigPath: testSpecificSettingsGetter().ClusterctlConfigPath,
BootstrapClusterProxy: bootstrapClusterProxy,
ArtifactFolder: artifactFolder,
SkipCleanup: skipCleanup,
Flavor: ptr.To(testSpecificSettingsGetter().FlavorForMode(clusterctl.DefaultFlavor)),
PostNamespaceCreated: testSpecificSettingsGetter().PostNamespaceCreatedFunc,
}
})
}, WithMOID(true))
})

var _ = Describe("ClusterClass Creation using Cluster API quick-start test [vcsim] [supervisor] [PR-Blocking] [ClusterClass]", func() {
const specName = "quick-start-cluster-class" // prefix (quick-start) copied from CAPI
Setup(specName, func(testSpecificSettingsGetter func() testSettings) {
Expand Down

0 comments on commit 3005d40

Please sign in to comment.