Skip to content

Commit

Permalink
nixos/ndppd: port test to python test-driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Nov 27, 2019
1 parent d35bd2f commit a9a2717
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nixos/tests/ndppd.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, lib, ...} : {
import ./make-test-python.nix ({ pkgs, lib, ...} : {
name = "ndppd";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ fpletz ];
Expand Down Expand Up @@ -52,9 +52,9 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
};

testScript = ''
startAll;
$server->waitForUnit("multi-user.target");
$upstream->waitForUnit("multi-user.target");
$upstream->waitUntilSucceeds("ping -c5 fd42::2");
start_all()
server.wait_for_unit("multi-user.target")
upstream.wait_for_unit("multi-user.target")
upstream.wait_until_succeeds("ping -c5 fd42::2")
'';
})

0 comments on commit a9a2717

Please sign in to comment.