diff options
author | Christian Kampka <christian@kampka.net> | 2019-12-15 18:50:50 +0100 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2019-12-15 20:08:01 +0100 |
commit | d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e (patch) | |
tree | adefc3c31dcc7c3217131b1837f4887c143f64a4 /nixos | |
parent | a20683acbef60c0590e6ac6332f7512c6b0284e8 (diff) | |
download | nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar.gz nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar.bz2 nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar.lz nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar.xz nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.tar.zst nixlib-d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e.zip |
nixosTests.peerflix: Port tests to python
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/peerflix.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/peerflix.nix b/nixos/tests/peerflix.nix index fae37fedaac7..37628604d49b 100644 --- a/nixos/tests/peerflix.nix +++ b/nixos/tests/peerflix.nix @@ -1,6 +1,6 @@ # This test runs peerflix and checks if peerflix starts -import ./make-test.nix ({ pkgs, ...} : { +import ./make-test-python.nix ({ pkgs, ...} : { name = "peerflix"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ offline ]; @@ -15,9 +15,9 @@ import ./make-test.nix ({ pkgs, ...} : { }; testScript = '' - startAll; + start_all() - $peerflix->waitForUnit("peerflix.service"); - $peerflix->waitUntilSucceeds("curl localhost:9000"); + peerflix.wait_for_unit("peerflix.service") + peerflix.wait_until_succeeds("curl localhost:9000") ''; }) |