nixos/rancher: wait for all nodes to be ready in multi node test (#517221)

This commit is contained in:
rorosen
2026-05-20 19:54:36 +00:00
committed by GitHub
+5
View File
@@ -222,6 +222,11 @@ in
# Also wait for our service account to show up; it takes a sec
server.wait_until_succeeds("kubectl get serviceaccount default")
# Wait for all nodes to be ready
server.succeed("kubectl wait --timeout=-1s --for=condition=Ready node/server")
server.succeed("kubectl wait --timeout=-1s --for=condition=Ready node/server2")
server.succeed("kubectl wait --timeout=-1s --for=condition=Ready node/agent")
# Now create a pod on each node via a daemonset and verify they can talk to each other.
server.succeed("kubectl apply -f ${networkTestDaemonset}")
server.wait_until_succeeds("kubectl rollout status daemonset test")