mirror of
https://github.com/rancher/os.git
synced 2025-08-01 23:17:50 +00:00
integration tests: log while we are waiting for ssh and docker
This commit is contained in:
parent
887af95d8f
commit
2c89796274
@ -61,5 +61,9 @@ def run_qemu(request, run_args=[]):
|
||||
|
||||
@pytest.mark.timeout(10)
|
||||
def wait_for_ssh(ssh_command=['./scripts/ssh', '--qemu']):
|
||||
i = 0
|
||||
print('\nWaiting for ssh and docker... ' + str(i))
|
||||
while subprocess.call(ssh_command + ['docker version >/dev/null 2>&1']) != 0:
|
||||
i += 1
|
||||
print('\nWaiting for ssh and docker... ' + str(i))
|
||||
time.sleep(1)
|
||||
|
Loading…
Reference in New Issue
Block a user