Skip to content

Commit 7069124

Browse files
Fix flake in machine phases test
Signed-off-by: killianmuldoon <[email protected]>
1 parent 74e303a commit 7069124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controllers/machine/machine_controller_phases_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func TestReconcileMachinePhases(t *testing.T) {
139139
}, 10*time.Second).Should(BeTrue())
140140

141141
// Wait until InfraMachine has the ownerReference.
142-
g.Eventually(func() bool {
142+
g.Eventually(func(g Gomega) bool {
143143
if err := env.Get(ctx, client.ObjectKeyFromObject(infraMachine), infraMachine); err != nil {
144144
return false
145145
}

0 commit comments

Comments
 (0)