]> git.proxmox.com Git - mirror_qemu.git/commit
avocado_qemu: tweak ssh connect method
authorWillian Rampazzo <willianr@redhat.com>
Mon, 20 Sep 2021 20:49:30 +0000 (17:49 -0300)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 27 Sep 2021 17:06:30 +0000 (19:06 +0200)
commit22e82e0982a893074738cd9c6184c8eb1c012422
treed1a54ab078027083138b3ba97497959925eb80ba
parente410bac0701b6f6a3d45990caf9aaca7f8d46bb3
avocado_qemu: tweak ssh connect method

The current implementation will crash if the connection fails as the
`time` module is not imported. Fix the import problem. While here,
tweaks the connection to wait progressively when the connection fails.

Signed-off-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Reworded description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210920204932.94132-5-willianr@redhat.com>
tests/acceptance/avocado_qemu/__init__.py