mirror of
https://github.com/rancher/os.git
synced 2025-07-03 18:16:13 +00:00
test dhcpcd running in background after network has initialized
This commit is contained in:
parent
3395ede89d
commit
b10a093c62
@ -53,6 +53,18 @@ def test_docker_args(qemu, cloud_config):
|
|||||||
assert v.find(expected) != -1
|
assert v.find(expected) != -1
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.timeout(40)
|
||||||
|
def test_dhcpcd(qemu, cloud_config):
|
||||||
|
assert qemu is not None
|
||||||
|
u.wait_for_ssh(ssh_command)
|
||||||
|
|
||||||
|
v = subprocess.check_output(
|
||||||
|
ssh_command + ['sh', '-c', 'ps -ef | grep dhcpcd'],
|
||||||
|
stderr=subprocess.STDOUT, universal_newlines=True)
|
||||||
|
|
||||||
|
assert v.find('dhcpcd -M') != -1
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.timeout(40)
|
@pytest.mark.timeout(40)
|
||||||
def test_docker_tls_args(qemu, cloud_config):
|
def test_docker_tls_args(qemu, cloud_config):
|
||||||
assert qemu is not None
|
assert qemu is not None
|
||||||
|
Loading…
Reference in New Issue
Block a user