summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2018-05-16 08:16:10 -0600
committerChad Smith <chad.smith@canonical.com>2018-05-16 08:16:10 -0600
commit589b542bfb3b6630b931a506ca017635059cef1d (patch)
tree60c0266846342b249a07bb23b28bff519adb0a6b /packages
parent0d7ee5592621d09699d079945ffd6febf16669b2 (diff)
downloadvyos-cloud-init-589b542bfb3b6630b931a506ca017635059cef1d.tar.gz
vyos-cloud-init-589b542bfb3b6630b931a506ca017635059cef1d.zip
tests: restructure SSH and initial connections
The SSH function was retrying and waiting for SSH for over an hour when an SSH connection was failing to be established. This reduces the amount of retries and time between each retry to prevent tests from running for hours. Also restructures how waiting for the system works: the system will attempt to SSH up to the boot timeout time by catching SSH connection failures and retrying until the timeout is reached. If the limit is reached now an exception is thrown to abort the test. Drive by - this also fixes printing of the instance name when collecting the console log, rather than showing a Python object address. Fixes LP: #1758409
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions