tests: Increase wait timeout in autogo_m2d
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 24 Apr 2015 14:54:13 +0000 (17:54 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 Apr 2015 14:55:32 +0000 (17:55 +0300)
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 <jouni@qca.qualcomm.com>
tests/hwsim/test_p2p_autogo.py

index 234e8f3..c120aa6 100644 (file)
@@ -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()