diff options
author | piegames <git@piegames.de> | 2022-06-25 23:09:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 23:09:36 +0200 |
commit | aa3641fa909b4259cc4df28dd3e3b36f788ee85b (patch) | |
tree | eac30b32c691c4d676e309f4adab094f7a115640 /nixos/tests | |
parent | ffb03512b7b5b746bd2c6ed89b6cd81fa87827f4 (diff) | |
parent | e215af71134261d31d9ff175999bfa051847bb48 (diff) |
Merge pull request #178838 from mweinelt/matrix-appservice-irc
nixos/matrix-appservice-irc: wait for postgres to start
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/matrix/appservice-irc.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/matrix/appservice-irc.nix b/nixos/tests/matrix/appservice-irc.nix index 7dd44da8305e0..78c53024ca6c4 100644 --- a/nixos/tests/matrix/appservice-irc.nix +++ b/nixos/tests/matrix/appservice-irc.nix @@ -193,6 +193,7 @@ import ../make-test-python.nix ({ pkgs, ... }: testScript = '' import pathlib + import os start_all() @@ -206,7 +207,7 @@ import ../make-test-python.nix ({ pkgs, ... }: with subtest("copy the registration file"): appservice.copy_from_vm("/var/lib/matrix-appservice-irc/registration.yml") homeserver.copy_from_host( - pathlib.Path(os.environ.get("out", os.getcwd())) / "registration.yml", "/" + str(pathlib.Path(os.environ.get("out", os.getcwd())) / "registration.yml"), "/" ) homeserver.succeed("chmod 444 /registration.yml") |