mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
tests/infrastructure: Add test case for ssh reachability on underlay
This commit is contained in:
parent
ea4a9c7cbc
commit
a0b966ed42
1 changed files with 3 additions and 0 deletions
|
|
@ -162,5 +162,8 @@
|
||||||
client1.succeed("ssh ${sshOptions} seb@server 'echo Hello'")
|
client1.succeed("ssh ${sshOptions} seb@server 'echo Hello'")
|
||||||
client1.succeed("ssh ${sshOptions} seb@client2 'echo Hello'")
|
client1.succeed("ssh ${sshOptions} seb@client2 'echo Hello'")
|
||||||
server.fail("ssh ${sshOptions} seb@client2 'echo Hello'")
|
server.fail("ssh ${sshOptions} seb@client2 'echo Hello'")
|
||||||
|
|
||||||
|
with subtest("SSH not reachable on underlay"):
|
||||||
|
client1.fail("ssh ${sshOptions} seb@${serverNetCfg.underlay.address} 'echo Hello'")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue