Merge pull request #260050 from 6t8k/nixos-test-openssh-wait-for-sshd

This commit is contained in:
Artturi 2023-11-08 01:00:37 +02:00 committed by GitHub
commit c1cfba583d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")