From f8967ece232e1db4549d64248a14684bd9448439 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 May 2022 13:40:56 +0300 Subject: [PATCH] tests: Do not require disconnection in ap_wpa2_psk_supp_proto_msg_1_invalid_kde The wpa_supplicant implementation for this functionality is going to be changed to not require disconnection, so prepare the test case to not fail. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_psk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_psk.py b/tests/hwsim/test_ap_psk.py index 9972554e7..5a86c72e7 100644 --- a/tests/hwsim/test_ap_psk.py +++ b/tests/hwsim/test_ap_psk.py @@ -2168,7 +2168,7 @@ def test_ap_wpa2_psk_supp_proto_msg_1_invalid_kde(dev, apdev): key_data=binascii.unhexlify('5555')) counter += 1 send_eapol(dev[0], bssid, build_eapol(msg)) - dev[0].wait_disconnected(timeout=1) + time.sleep(0.1) def test_ap_wpa2_psk_supp_proto_wrong_pairwise_key_len(dev, apdev): """WPA2-PSK supplicant protocol testing: wrong pairwise key length"""