[PATCH] tests: increase default go_neg_pbc timeout to 30s
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Wed Jan 22 03:14:19 PST 2025
From: Benjamin Berg <benjamin.berg at intel.com>
Occasionally, the two device simply cannot find themselves within the 15
seconds (20s - 5s). Increase the default timeout to avoid random test
failures.
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
---
tests/hwsim/p2p_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/hwsim/p2p_utils.py b/tests/hwsim/p2p_utils.py
index c0db35a86b..5bf4e03b69 100644
--- a/tests/hwsim/p2p_utils.py
+++ b/tests/hwsim/p2p_utils.py
@@ -335,7 +335,7 @@ def go_neg_init_pbc(i_dev, r_dev, i_intent, res, freq, provdisc, timeout=20):
res.put(i_res)
def go_neg_pbc(i_dev, r_dev, i_intent=None, r_intent=None, i_freq=None,
- r_freq=None, provdisc=False, r_listen=False, timeout=20):
+ r_freq=None, provdisc=False, r_listen=False, timeout=30):
if r_listen:
r_dev.p2p_listen()
else:
--
2.43.0
More information about the Hostap
mailing list