]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make *_key_lifetime_in_memory more robust
authorJouni Malinen <j@w1.fi>
Sat, 31 Jan 2015 16:06:06 +0000 (18:06 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 31 Jan 2015 16:06:06 +0000 (18:06 +0200)
commit54f2cae2e68d6e6c4a4367ace8a7b7509ae554df
treeafc03c467daf15d3660c33197f9bec6ce062b49e
parenta1512a0cc7124840ffc2bb9ab68abd9793fc679b
tests: Make *_key_lifetime_in_memory more robust

It was possible for the GTK-found-in-memory case to be triggered due to
a retransmission of EAPOL-Key msg 3/4 especially when running test cases
under heavy load (i.e., timeout on hostapd due to not receiving the 4/4
response quickly enough). Make this false failure report less likely by
waiting a bit longer after the connection has been completed before
fetching the process memory.

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