about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2023-03-04 20:06:32 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2023-03-04 20:06:32 +0100
commit6a6349cc338df56f6d7092382ba22338f1077f03 (patch)
tree8e4b55d3794df27e73259eb4f33966e59d9cf145
parent8f84ab48c4005e63efb5390b72505f5f01cb3ac2 (diff)
nixos/tests/libreswan: attempt to fix flakiness
-rw-r--r--nixos/tests/libreswan.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/libreswan.nix b/nixos/tests/libreswan.nix
index ff3d2344a6799..aadba941fab17 100644
--- a/nixos/tests/libreswan.nix
+++ b/nixos/tests/libreswan.nix
@@ -107,6 +107,8 @@ in
 
       with subtest("Network is up"):
           alice.wait_until_succeeds("ping -c1 bob")
+          alice.succeed("systemctl restart ipsec")
+          bob.succeed("systemctl restart ipsec")
 
       with subtest("Eve can eavesdrop cleartext traffic"):
           eavesdrop()