diff options
author | Artturi <Artturin@artturin.com> | 2023-11-08 01:00:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 01:00:37 +0200 |
commit | c1cfba583d14b98b38ff667d670f79e076daed95 (patch) | |
tree | b4fa2d741b6f6a8eb1ae43be891dbd27013152c0 /nixos | |
parent | 9dfb962c2a7dee760ef894a755d13777e392ba6d (diff) | |
parent | ebec07fd244410736b00990fa3609f6a9c3bfdef (diff) | |
download | nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar.gz nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar.bz2 nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar.lz nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar.xz nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.tar.zst nixlib-c1cfba583d14b98b38ff667d670f79e076daed95.zip |
Merge pull request #260050 from 6t8k/nixos-test-openssh-wait-for-sshd
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/openssh.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/tests/openssh.nix b/nixos/tests/openssh.nix index 881eb9d7d91c..799497477993 100644 --- a/nixos/tests/openssh.nix +++ b/nixos/tests/openssh.nix @@ -103,7 +103,12 @@ in { testScript = '' start_all() - server.wait_for_unit("sshd") + server.wait_for_unit("sshd", timeout=30) + server_localhost_only.wait_for_unit("sshd", timeout=30) + server_match_rule.wait_for_unit("sshd", timeout=30) + + server_lazy.wait_for_unit("sshd.socket", timeout=30) + server_localhost_only_lazy.wait_for_unit("sshd.socket", timeout=30) with subtest("manual-authkey"): client.succeed("mkdir -m 700 /root/.ssh") |