Browse Source

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 <jouni@qca.qualcomm.com>
Jouni Malinen 10 years ago
parent
commit
cfbdb9958f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/hwsim/test_p2p_autogo.py

+ 1 - 1
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()