From 9def9b00af0e19007f9468ab301460d9cd776fb6 Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Thu, 15 May 2025 11:46:53 -0700 Subject: [PATCH 1/2] No need to wait after creating CMX VM anymore --- e2e/cluster/cmx/cluster.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/e2e/cluster/cmx/cluster.go b/e2e/cluster/cmx/cluster.go index 75d37e3f09..e0ee1b1c04 100644 --- a/e2e/cluster/cmx/cluster.go +++ b/e2e/cluster/cmx/cluster.go @@ -147,10 +147,6 @@ func NewNode(in *ClusterInput, index int, networkID string) (*Node, error) { } node := nodes[0] - // TODO (@salah): remove this once the bug is fixed in CMX - // note: the vm gets marked as ready before the services are actually running - time.Sleep(30 * time.Second) - sshEndpoint, err := getSSHEndpoint(node.ID) if err != nil { return nil, fmt.Errorf("get ssh endpoint for node %s: %v", nodeName, err) From 6050a79e4670ad5bca655b68be3296ce07a6ba48 Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Thu, 15 May 2025 13:04:44 -0700 Subject: [PATCH 2/2] test without refreshing ssh endpoint --- e2e/cluster/cmx/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/cluster/cmx/cluster.go b/e2e/cluster/cmx/cluster.go index e0ee1b1c04..91694a9113 100644 --- a/e2e/cluster/cmx/cluster.go +++ b/e2e/cluster/cmx/cluster.go @@ -284,7 +284,7 @@ func (c *Cluster) waitUntilAirgapped(node int) error { func (c *Cluster) WaitForReboot() { time.Sleep(30 * time.Second) for i := range c.Nodes { - c.refreshSSHEndpoint(i) + // c.refreshSSHEndpoint(i) c.waitForClockSync(i) } }