Skip to content

Commit

Permalink
Merge pull request #8927 from killianmuldoon/pr-mp-eventually-reconcile
Browse files Browse the repository at this point in the history
🐛 Use CreateAndWait in MP ScaleFromZero test
  • Loading branch information
k8s-ci-robot committed Jun 27, 2023
2 parents c91e481 + 8cc18be commit 2b0dd2e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ func TestReconcileMachinePoolScaleToFromZero(t *testing.T) {
},
},
}
g.Expect(env.Create(ctx, node)).To(BeNil())
g.Expect(env.CreateAndWait(ctx, node)).To(BeNil())
defer func(do ...client.Object) {
g.Expect(env.Cleanup(ctx, do...)).To(Succeed())
}(node)
Expand Down Expand Up @@ -1249,7 +1249,6 @@ func TestReconcileMachinePoolScaleToFromZero(t *testing.T) {
g.Expect(res.Requeue).To(BeFalse())

r.reconcilePhase(machinepool)

g.Expect(machinepool.Status.GetTypedPhase()).To(Equal(expv1.MachinePoolPhaseRunning))

delNode := &corev1.Node{}
Expand Down

0 comments on commit 2b0dd2e

Please sign in to comment.