diff mbox series

tests: increase default go_neg_pbc timeout to 30s

Message ID 20250122111419.3486198-1-andrei.otcheretianski@intel.com
State Accepted
Headers show
Series tests: increase default go_neg_pbc timeout to 30s | expand

Commit Message

Andrei Otcheretianski Jan. 22, 2025, 11:14 a.m. UTC
From: Benjamin Berg <benjamin.berg@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@intel.com>
---
 tests/hwsim/p2p_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jouni Malinen Jan. 24, 2025, 9:41 a.m. UTC | #1
On Wed, Jan 22, 2025 at 01:14:19PM +0200, Andrei Otcheretianski wrote:
> Occasionally, the two device simply cannot find themselves within the 15
> seconds (20s - 5s). Increase the default timeout to avoid random test
> failures.

Thanks, applied.
diff mbox series

Patch

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: