diff options
author | Christian Kampka <christian@kampka.net> | 2019-12-15 19:46:53 +0100 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2019-12-15 19:46:53 +0100 |
commit | 58cd46ba2183aa9928b84efc0d595a70a6d64450 (patch) | |
tree | e613ca753656b6af0ceffe918c24e8f57f338ed7 /nixos/tests/mxisd.nix | |
parent | 8c683b3b137559c286b2a2f534ba4eb402753a16 (diff) | |
download | nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar.gz nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar.bz2 nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar.lz nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar.xz nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.tar.zst nixpkgs-58cd46ba2183aa9928b84efc0d595a70a6d64450.zip |
nixosTests.mxisd: Port tests to python
Diffstat (limited to 'nixos/tests/mxisd.nix')
-rw-r--r-- | nixos/tests/mxisd.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/nixos/tests/mxisd.nix b/nixos/tests/mxisd.nix index 0039256f586..b2b60db4d82 100644 --- a/nixos/tests/mxisd.nix +++ b/nixos/tests/mxisd.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ pkgs, ... } : { +import ./make-test-python.nix ({ pkgs, ... } : { name = "mxisd"; meta = with pkgs.stdenv.lib.maintainers; { @@ -19,13 +19,12 @@ import ./make-test.nix ({ pkgs, ... } : { }; testScript = '' - startAll; - $server_mxisd->waitForUnit("mxisd.service"); - $server_mxisd->waitForOpenPort(8090); - $server_mxisd->succeed("curl -Ssf \"http://127.0.0.1:8090/_matrix/identity/api/v1\""); - $server_ma1sd->waitForUnit("mxisd.service"); - $server_ma1sd->waitForOpenPort(8090); - $server_ma1sd->succeed("curl -Ssf \"http://127.0.0.1:8090/_matrix/identity/api/v1\"") - + start_all() + server_mxisd.wait_for_unit("mxisd.service") + server_mxisd.wait_for_open_port(8090) + server_mxisd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") + server_ma1sd.wait_for_unit("mxisd.service") + server_ma1sd.wait_for_open_port(8090) + server_ma1sd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") ''; }) |