1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

wip: test cloud-config

This commit is contained in:
Ivan Mikushin
2015-05-08 15:15:14 +05:00
parent b64b31a952
commit 070162eb55
5 changed files with 66 additions and 3 deletions

View File

@@ -19,6 +19,6 @@ def run_qemu(request, run_args=[]):
@pytest.mark.timeout(10)
def wait_for_ssh():
while subprocess.call(['./scripts/ssh', '/bin/true']) != 0:
def wait_for_ssh(ssh_command=['./scripts/ssh']):
while subprocess.call(ssh_command + ['/bin/true']) != 0:
time.sleep(1)