Skip to content

Commit 75afbcb

Browse files
authored
Merge pull request #8370 from killianmuldoon/pr-fix-machine-phases-flake
🐛 Fix flake in machine phases test
2 parents 9e48879 + 7069124 commit 75afbcb

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)