]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Make rsn_override_mld_too_long_elems more robust
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 29 Aug 2024 13:14:43 +0000 (16:14 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 29 Aug 2024 17:10:22 +0000 (20:10 +0300)
Wait longer for the disconnection event since the previous wait was
exactly the same length as the authentication timeout in wpa_supplicant
and as such, subject to race conditions.

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

index 721da51e22ed3621b86b1a61684ba8d76a779c81..051e085677ab966f0a65a4ea69f1e620134207a8 100644 (file)
@@ -196,7 +196,7 @@ def run_rsn_override_mld(dev, apdev, mixed, only_sta=False,
             if ev is None:
                 raise Exception("EAPOL-Key M1 not reported")
             ev = wpas.wait_event(['EAPOL-RX', 'CTRL-EVENT-DISCONNECTED'],
-                                 timeout=10)
+                                 timeout=20)
             if ev is None:
                 raise Exception("Disconnection not reported")
             # The AP is expected to fail to send M3 due to RSNOE/RSNO2E/RSNXOE