Skip to content

Commit 4a69b4d

Browse files
authored
Wait for a bit after creating VM and before getting SSH endpoint (#2160)
1 parent 59a2502 commit 4a69b4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

e2e/cluster/cmx/cluster.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ func NewNode(in *ClusterInput, index int, networkID string) (*Node, error) {
144144
}
145145
node := nodes[0]
146146

147+
// TODO (@salah): remove this once the bug is fixed in CMX
148+
// note: the vm gets marked as ready before the services are actually running
149+
time.Sleep(30 * time.Second)
150+
147151
sshEndpoint, err := getSSHEndpoint(node.ID)
148152
if err != nil {
149153
return nil, fmt.Errorf("get ssh endpoint for node %s: %v", nodeName, err)

0 commit comments

Comments
 (0)