]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Allow some more time for a scan in discovery_group_client
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 20 Jan 2023 17:56:20 +0000 (19:56 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Jan 2023 21:47:33 +0000 (23:47 +0200)
This makes the test case a bit more likely to be able to complete with
S1G being enabled in mac80211_hwsim. However, the 15 second P2P protocol
timeout itself can be hit in this type of a case and the test case will
still fail every now and then if all mac80211_hwsim supported channels
are included.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_p2p_discovery.py

index 0537f02e9e5bb84525257038685f971d9871327c..6b85a00543fd969c607b3f3c78e65d53034af84d 100644 (file)
@@ -163,7 +163,7 @@ def test_discovery_group_client(dev):
     # make group client available on operating channe
     dev[1].group_request("REASSOCIATE")
     ev = dev[1].wait_global_event(["CTRL-EVENT-CONNECTED",
-                                   "P2P-GO-NEG-REQUEST"], timeout=10)
+                                   "P2P-GO-NEG-REQUEST"], timeout=15)
     if ev is None:
         raise Exception("Timeout on reconnection to group")
     if "P2P-GO-NEG-REQUEST" not in ev: