]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make pmksa_cache_expiration more robust
authorJouni Malinen <j@w1.fi>
Fri, 27 Dec 2019 13:58:32 +0000 (15:58 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2019 14:03:50 +0000 (16:03 +0200)
commit0075df74df28dbb4985d1285182815efc766a82b
tree08400082e3b2f9704324bd92c1f15952540c701f
parentfd0465b85edec1792e62ef163b8be5f761e32868
tests: Make pmksa_cache_expiration more robust

Wait for hostapd to enter the PTKINITDONE state before checking
connectivity. This is needed to avoid a race condition with UML
time-travel.

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