Skip to content

Commit

Permalink
Test for internet connectivity before testing ssh access
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Jul 16, 2024
1 parent 06fba33 commit eb51cfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ echo "$phoned/$minPhoned machines have phoned home"

sleep 10

echo "Check if SSH login to firewall works"
ssh -o StrictHostKeyChecking=no -o "PubkeyAcceptedKeyTypes +ssh-rsa" -i files/ssh/id_rsa [email protected] -C exit

echo "Test connectivity to outside"
make connect-to-cloudflare

echo "Check if SSH login to firewall works"
ssh -o StrictHostKeyChecking=no -o "PubkeyAcceptedKeyTypes +ssh-rsa" -i files/ssh/id_rsa [email protected] -C exit

echo "Successfully started mini-lab"

0 comments on commit eb51cfc

Please sign in to comment.