mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: testutil.py: update Process changes
This commit is contained in:
parent
665f63ff97
commit
d2a3809ca8
@ -169,7 +169,7 @@ def test_ip_connected(tup0, tup1):
|
|||||||
ip1, ns1 = tup1
|
ip1, ns1 = tup1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
ns0.start_process(['ping', '-c', '5', '-i', '0.2', ip1], wait=True, check=True)
|
ns0.start_process(['ping', '-c', '5', '-i', '0.2', ip1], check=True)
|
||||||
ns1.start_process(['ping', '-c', '5', '-i', '0.2', ip0], wait=True, check=True)
|
ns1.start_process(['ping', '-c', '5', '-i', '0.2', ip0], check=True)
|
||||||
except:
|
except:
|
||||||
raise Exception('Could not ping between %s and %s' % (ip0, ip1))
|
raise Exception('Could not ping between %s and %s' % (ip0, ip1))
|
||||||
|
Loading…
Reference in New Issue
Block a user