]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Give more time in ap_wpa2_psk_ext_delayed_ptk_rekey for UML
authorJouni Malinen <j@w1.fi>
Mon, 27 May 2019 19:53:53 +0000 (22:53 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 27 May 2019 19:53:53 +0000 (22:53 +0300)
Waiting for exactly one second for a one second timeout with
time-travel=inf-cpu is not exactly robust, so increase that wait to be
able to see the last EAPOL-Key TX attempt from hostapd.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_psk.py

index 3be68e830c1496b1edf758bee9c44e525e1bef67..8fbd5c4b3e9c6ac9ada54b4750789f355ddb623f 100644 (file)
@@ -1195,7 +1195,7 @@ def test_ap_wpa2_psk_ext_delayed_ptk_rekey(dev, apdev):
     # Check if any more EAPOL-Key frames are seen. If the second 4-way handshake
     # was accepted, there would be no more EAPOL-Key frames. If the Replay
     # Counters were rejected, there would be a retransmitted msg 1/4 here.
-    ev = hapd.wait_event(["EAPOL-TX"], timeout=1)
+    ev = hapd.wait_event(["EAPOL-TX"], timeout=1.1)
     if ev is None:
         raise Exception("Did not see EAPOL-TX from hostapd in the end (expected msg 1/4)")
     keyinfo = ev.split(' ')[2][10:14]