From 6a6349cc338df56f6d7092382ba22338f1077f03 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 4 Mar 2023 20:06:32 +0100 Subject: [PATCH] nixos/tests/libreswan: attempt to fix flakiness --- nixos/tests/libreswan.nix | 2 ++ 1 file changed, 2 insertions(+) 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()