Skip to content

Commit

Permalink
cdi-1.4.1: Added VMI state test back, this passes now that I've corre…
Browse files Browse the repository at this point in the history
…cted the ordering.
  • Loading branch information
dylanzr committed Dec 27, 2018
1 parent 5cbaf78 commit 0770130
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@ func waitForVMIStart(obj runtime.Object, seconds int, ignoreWarnings bool) (node
ExpectWithOffset(1, err).ToNot(HaveOccurred())

nodeName = vmi.Status.NodeName
Expect(vmi.IsFinal()).To(BeFalse(), "VMI unexpectedly stopped. State: %s", vmi.Status.Phase)
return vmi.Status.Phase
}, time.Duration(seconds)*time.Second, 1*time.Second).Should(Equal(v1.Running), "Timed out waiting for VMI to enter Running phase")

Expand Down

0 comments on commit 0770130

Please sign in to comment.