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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-08-29 16:14:43 +03:00 committed by Jouni Malinen
parent 3935d78e7b
commit d15403aefb

View 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