From 846be8897550bf1aea75dcc8d411d9669bb41a9f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 31 Aug 2013 11:54:23 +0300 Subject: [PATCH] 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 --- 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 0707bae0b..0587e4c15 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -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)