Skip to content

Commit

Permalink
Merge pull request NixOS#274087 from numinit/revert-nebula-wait-for-s…
Browse files Browse the repository at this point in the history
…ervice

nixos/nebula: tests: revert wait_for_unit
  • Loading branch information
NickCao authored and numinit committed Dec 14, 2023
1 parent 5724bd1 commit 869ae6a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nixos/tests/nebula.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ in

restartAndCheckNebula = name: ip: ''
${name}.systemctl("restart [email protected]")
${name}.wait_for_unit("[email protected]")
${name}.succeed("ping -c5 ${ip}")
'';

Expand Down Expand Up @@ -180,8 +179,6 @@ in
${nodeB}.succeed("iptables -I INPUT -s " + node_a + " -j DROP")
${nodeA}.systemctl("restart [email protected]")
${nodeB}.systemctl("restart [email protected]")
${nodeA}.wait_for_unit("[email protected]")
${nodeB}.wait_for_unit("[email protected]")
'';
allowTrafficBetween = nodeA: nodeB: ''
node_a = ${getPublicIp nodeA}
Expand All @@ -190,8 +187,6 @@ in
${nodeB}.succeed("iptables -D INPUT -s " + node_a + " -j DROP")
${nodeA}.systemctl("restart [email protected]")
${nodeB}.systemctl("restart [email protected]")
${nodeA}.wait_for_unit("[email protected]")
${nodeB}.wait_for_unit("[email protected]")
'';
in ''
# Create the certificate and sign the lighthouse's keys.
Expand Down

0 comments on commit 869ae6a

Please sign in to comment.