From: Jouni Malinen Date: Mon, 6 Oct 2025 17:36:47 +0000 (+0300) Subject: tests: Longer sta_reassoc timeout in sigma_dut_ft_rsnxe_used_mismatch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20dcbb1300f21d58db732e13c6ef0611e8119739;p=thirdparty%2Fhostap.git tests: Longer sta_reassoc timeout in sigma_dut_ft_rsnxe_used_mismatch This RSNXE Used mismatch case depended on very quick attempt to reconnect on failure. That ends up hitting an issue with wpa_supplicant changes, so use a longer timeout here in the negative test case. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index c43d7fff3..211f1d287 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -5347,7 +5347,8 @@ def test_sigma_dut_ft_rsnxe_used_mismatch(dev, apdev): raise Exception("Unexpected number of association attempts for the first FT protocol exchange (expecting success)") dut.cmd_check("sta_set_rfeature,interface,%s,prog,WPA3,ReassocReq_RSNXE_Used,1" % ifname) - dut.cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid)) + dut.cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid), + timeout=20) count = 0 for i in range(5): ev = dev[0].wait_event(["Trying to associate",