From 853b49a030c00fd6b2dde14e183ca2bf108eaa16 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 26 Aug 2013 16:54:05 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_ap_wps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 84f206fd3..9b41d1247 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -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()