commit ba152c567c3f341b5f9825d43584bfd1a6f2b80b
parent dd9265f2dbf0fb26052ac7bdb2ae4c5d8d02f6b7
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 3 Sep 2021 21:06:42 +0200
autotests: Extend a testP2P timeout
With various versions of wpa_supplicant tested, after an IWD GO tears
the group down, the wpa_supplicant P2P client will not immediately
signal that the group has disappeared but will at least wait for the
lost beacon signal, wait some more and try reconnecting and all that
takes it 10s or a little longer. Possibly sending Deauthenticate frames
to clients first would improve this.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/testP2P/connection_test.py b/autotests/testP2P/connection_test.py
@@ -130,7 +130,7 @@ class Test(unittest.TestCase):
if not go:
wd.wait_for_object_condition(wpas, 'len(obj.p2p_clients) == 0', max_wait=3)
else:
- wd.wait_for_object_condition(wpas, 'obj.p2p_group is None', max_wait=3)
+ wd.wait_for_object_condition(wpas, 'obj.p2p_group is None', max_wait=15)
self.assertEqual(peer.connected, False)
def setUp(self):