mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
tests/infrastructure: Fix flaky subtest
This commit is contained in:
parent
d83843e5e1
commit
1627f19331
1 changed files with 2 additions and 2 deletions
|
|
@ -159,9 +159,9 @@
|
|||
with subtest("SSH access restricted by role"):
|
||||
client1.succeed("ssh ${sshOptions} seb@server 'echo Hello'")
|
||||
client1.succeed("ssh ${sshOptions} seb@client2 'echo Hello'")
|
||||
server.fail("ssh ${sshOptions} seb@client2 'echo Hello'")
|
||||
server.fail("timeout 5 ssh ${sshOptions} seb@client2 'echo Hello'")
|
||||
|
||||
with subtest("SSH not reachable on underlay"):
|
||||
client1.fail("ssh ${sshOptions} seb@${serverNetCfg.underlay.address} 'echo Hello'")
|
||||
client1.fail("timeout 5 ssh ${sshOptions} seb@${serverNetCfg.underlay.address} 'echo Hello'")
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue