From cfbdb9958f1ae819caeffacaf069e278d165b8a5 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 24 Apr 2015 17:54:13 +0300 Subject: [PATCH] tests: Increase wait timeout in autogo_m2d The time before trying to associate with an AP that does not advertise Selected Registrar TRUE is going to be incremented, so increase the autogo_m2d timeout to avoid reporting incorrect errors due to missing M2D events. Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_autogo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index 234e8f332..c120aa68c 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -173,7 +173,7 @@ def test_autogo_m2d(dev): if "OK" not in dev[2].global_request(cmd): raise Exception("P2P_CONNECT join failed") - ev = dev[1].wait_global_event(["WPS-M2D"], timeout=10) + ev = dev[1].wait_global_event(["WPS-M2D"], timeout=16) if ev is None: raise Exception("No global M2D event") ifaces = dev[1].request("INTERFACES").splitlines()