Skip to content

Commit 5eea6e8

Browse files
committed
fixup unit tests
1 parent b61ae4c commit 5eea6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/cloudstackaffinitygroup_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ var _ = Describe("CloudStackAffinityGroupReconciler", func() {
7878
return false
7979
}, timeout).WithPolling(pollInterval).Should(BeTrue())
8080

81-
Ω(k8sClient.Delete(ctx, dummies.CSAffinityGroup))
8281
mockCloudClient.EXPECT().FetchAffinityGroup(gomock.Any()).Do(func(arg1 interface{}) {
8382
arg1.(*cloud.AffinityGroup).ID = ""
8483
}).AnyTimes().Return(nil)
84+
Ω(k8sClient.Delete(ctx, dummies.CSAffinityGroup))
8585

8686
// Once the affinity group id was set to "" the controller should remove the finalizer and unblock deleting affinity group resource
8787
Eventually(func() bool {

0 commit comments

Comments
 (0)