From 03a9484617e33660fe3d72cada4ee46fb17eaa24 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Mon, 1 Sep 2025 09:21:11 -0400 Subject: [PATCH] nixos/tests/openvswitch: improve ping check resiliency --- nixos/tests/openvswitch.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/openvswitch.nix b/nixos/tests/openvswitch.nix index 679641717a1f..cd725ccb4071 100644 --- a/nixos/tests/openvswitch.nix +++ b/nixos/tests/openvswitch.nix @@ -56,7 +56,7 @@ node2.wait_for_unit("ovsdb.service") node2.wait_for_unit("ovs-vswitchd.service") - node1.succeed("ping -c3 10.0.0.2") - node2.succeed("ping -c3 10.0.0.1") + node1.wait_until_succeeds("ping -c1 10.0.0.2", timeout=30) + node2.wait_until_succeeds("ping -c1 10.0.0.1", timeout=30) ''; }