mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
Merge pull request #260050 from 6t8k/nixos-test-openssh-wait-for-sshd
This commit is contained in:
commit
c1cfba583d
1 changed files with 6 additions and 1 deletions
|
@ -103,7 +103,12 @@ in {
|
||||||
testScript = ''
|
testScript = ''
|
||||||
start_all()
|
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"):
|
with subtest("manual-authkey"):
|
||||||
client.succeed("mkdir -m 700 /root/.ssh")
|
client.succeed("mkdir -m 700 /root/.ssh")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue