Skip to content

Commit e9836c6

Browse files
committed
fix test to expect only one cluster module due to md modules created on demand
1 parent 6adac7a commit e9836c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/vmware/test/controllers_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ var _ = Describe("Reconciliation tests", func() {
473473
Eventually(func() error {
474474
return k8sClient.Get(ctx, rpKey, resourcePolicy)
475475
}, time.Second*30).Should(Succeed())
476-
Expect(len(resourcePolicy.Spec.ClusterModuleGroups)).To(BeEquivalentTo(2))
476+
Expect(len(resourcePolicy.Spec.ClusterModuleGroups)).To(BeEquivalentTo(1))
477477

478478
By("Create the CAPI Machine and wait for it to exist")
479479
machineKey, machine := deployCAPIMachine(ns.Name, cluster, k8sClient)

0 commit comments

Comments
 (0)