From: Jouni Malinen Date: Thu, 29 Aug 2024 13:14:43 +0000 (+0300) Subject: tests: Make rsn_override_mld_too_long_elems more robust X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d15403aefbe54c26d4c03f797c5c156a8b32c2ee;p=thirdparty%2Fhostap.git tests: Make rsn_override_mld_too_long_elems more robust 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 --- diff --git a/tests/hwsim/test_rsn_override.py b/tests/hwsim/test_rsn_override.py index 721da51e2..051e08567 100644 --- a/tests/hwsim/test_rsn_override.py +++ b/tests/hwsim/test_rsn_override.py @@ -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