3
0
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:
James Prestwood 2021-08-25 15:17:25 -07:00 committed by Denis Kenzior
parent 665f63ff97
commit d2a3809ca8

View File

@ -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))