From: Jouni Malinen Date: Fri, 24 Apr 2015 14:54:13 +0000 (+0300) Subject: tests: Increase wait timeout in autogo_m2d X-Git-Tag: hostap_2_5~809 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbdb9958f1ae819caeffacaf069e278d165b8a5;p=thirdparty%2Fhostap.git 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 --- 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()