about summary refs log tree commit diff
path: root/nixos/tests/libreswan.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/libreswan.nix')
-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 ff3d2344a679..aadba941fab1 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()