]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use longer timeout in test_ap_wps_er_add_enrollee
authorJouni Malinen <j@w1.fi>
Sat, 31 Aug 2013 08:54:23 +0000 (11:54 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 31 Aug 2013 08:54:23 +0000 (11:54 +0300)
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>

tests/hwsim/test_ap_wps.py

index 0707bae0bb275a7336dd7a64f1da8634fc5c6c16..0587e4c15bdfc4d06110e29dcc8dd21b24a00bf8 100644 (file)
@@ -246,7 +246,7 @@ def test_ap_wps_er_add_enrollee(dev, apdev):
     dev[1].request("SET ignore_old_scan_res 1")
     dev[1].dump_monitor()
     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:
         raise Exception("Enrollee did not report success")
     ev = dev[1].wait_event(["CTRL-EVENT-CONNECTED"], timeout=15)