mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Increase test_ap_wps_init connection timeout
It looks like there may not be enough time to complete this test case in 15 seconds under valgrind on a virtual host every time, so increase the timeout to 30 seconds to get more consistent test results. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b76579e0c0
commit
853b49a030
@ -25,7 +25,7 @@ def test_ap_wps_init(dev, apdev):
|
||||
dev[0].request("SET ignore_old_scan_res 1")
|
||||
dev[0].dump_monitor()
|
||||
dev[0].request("WPS_PBC")
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-CONNECTED"], timeout=30)
|
||||
if ev is None:
|
||||
raise Exception("Association with the AP timed out")
|
||||
status = dev[0].get_status()
|
||||
|
Loading…
Reference in New Issue
Block a user