tests: Use longer timeout in test_ap_wps_er_add_enrollee
This is another one of the test cases that can time out frequently under valgrind during WPS exchange. Increase the timeout to make false error reports less likely to occur. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
50f4f2a066
commit
846be88975
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ def test_ap_wps_er_add_enrollee(dev, apdev):
|
||||||
dev[1].request("SET ignore_old_scan_res 1")
|
dev[1].request("SET ignore_old_scan_res 1")
|
||||||
dev[1].dump_monitor()
|
dev[1].dump_monitor()
|
||||||
dev[1].request("WPS_PIN any " + pin)
|
dev[1].request("WPS_PIN any " + pin)
|
||||||
ev = dev[1].wait_event(["WPS-SUCCESS"], timeout=15)
|
ev = dev[1].wait_event(["WPS-SUCCESS"], timeout=30)
|
||||||
if ev is None:
|
if ev is None:
|
||||||
raise Exception("Enrollee did not report success")
|
raise Exception("Enrollee did not report success")
|
||||||
ev = dev[1].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)
|
ev = dev[1].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)
|
||||||
|
|
Loading…
Reference in a new issue