mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
test_ssh_authorized_keys
This commit is contained in:
@@ -31,9 +31,9 @@ def test_system_boot(qemu):
|
||||
|
||||
@pytest.mark.timeout(60)
|
||||
def test_run_system_container(qemu):
|
||||
assert qemu.returncode is None
|
||||
|
||||
assert qemu is not None
|
||||
u.wait_for_ssh()
|
||||
|
||||
ssh = subprocess.Popen(
|
||||
'./scripts/ssh sudo system-docker run --rm busybox /bin/true', shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
|
||||
|
@@ -13,8 +13,15 @@ def qemu(request):
|
||||
|
||||
|
||||
@pytest.mark.timeout(40)
|
||||
def test_check_whats_going_on(qemu):
|
||||
assert qemu.returncode is None
|
||||
def test_ssh_authorized_keys(qemu):
|
||||
assert qemu is not None
|
||||
u.wait_for_ssh(ssh_command)
|
||||
assert True
|
||||
|
||||
|
||||
@pytest.mark.timeout(40)
|
||||
def test_rancher_environment(qemu):
|
||||
assert qemu is not None
|
||||
u.wait_for_ssh(ssh_command)
|
||||
|
||||
ssh = subprocess.Popen(
|
||||
|
Reference in New Issue
Block a user