]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Increase test_ap_wps_init connection timeout
authorJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 13:54:05 +0000 (16:54 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 13:54:05 +0000 (16:54 +0300)
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>

tests/hwsim/test_ap_wps.py

index 84f206fd3f4f4559c9ac17dfccc590451865e8ca..9b41d1247e092cac21d5b668627e0dfe03fcf8d0 100644 (file)
@@ -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()