tests: Add more wait around tcpdump capture processes for proxyarp
It looks like the previously used sleep time was not sufficient to allow capturing the frames from wlan0/wlan1/wlan2 to start and complete so that all the necessary frames can be checked. This was the case especially with UML time-travel=inf-cpu. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
de6aafaa63
commit
7d89a99714
1 changed files with 3 additions and 2 deletions
|
@ -4684,7 +4684,7 @@ def _test_proxyarp_open(dev, apdev, params, ebtables=False):
|
|||
dev[0].connect("open", key_mgmt="NONE", scan_freq="2412")
|
||||
dev[1].connect("open", key_mgmt="NONE", scan_freq="2412")
|
||||
dev[2].connect("another", key_mgmt="NONE", scan_freq="2412")
|
||||
time.sleep(0.1)
|
||||
time.sleep(1.1)
|
||||
|
||||
brcmd = subprocess.Popen(['brctl', 'show'], stdout=subprocess.PIPE)
|
||||
res = brcmd.stdout.read().decode()
|
||||
|
@ -4870,9 +4870,10 @@ def _test_proxyarp_open(dev, apdev, params, ebtables=False):
|
|||
|
||||
dev[0].request("DISCONNECT")
|
||||
dev[1].request("DISCONNECT")
|
||||
time.sleep(0.5)
|
||||
time.sleep(1.5)
|
||||
for i in range(len(cmd)):
|
||||
cmd[i].terminate()
|
||||
time.sleep(0.1)
|
||||
macs = get_bridge_macs("ap-br0")
|
||||
logger.info("After disconnect (showmacs): " + str(macs))
|
||||
matches = get_permanent_neighbors("ap-br0")
|
||||
|
|
Loading…
Reference in a new issue