From 85ac165d6454983caad549113b7ea5650f8323d6 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 20 Jan 2023 19:56:20 +0200 Subject: [PATCH] tests: Allow some more time for a scan in discovery_group_client 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 --- tests/hwsim/test_p2p_discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_discovery.py b/tests/hwsim/test_p2p_discovery.py index 0537f02e9..6b85a0054 100644 --- a/tests/hwsim/test_p2p_discovery.py +++ b/tests/hwsim/test_p2p_discovery.py @@ -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: