diff options
author | Joshua Powers <josh.powers@canonical.com> | 2018-05-16 08:16:10 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-05-16 08:16:10 -0600 |
commit | 589b542bfb3b6630b931a506ca017635059cef1d (patch) | |
tree | 60c0266846342b249a07bb23b28bff519adb0a6b /packages | |
parent | 0d7ee5592621d09699d079945ffd6febf16669b2 (diff) | |
download | vyos-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