]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make PASN checks for PTKSA_CACHE_LIST a bit more robust
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 21 Feb 2023 17:46:17 +0000 (19:46 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 21 Feb 2023 17:46:17 +0000 (19:46 +0200)
commitf710eba172b8ba7b6fb80cef701d088da240df25
treef97f82808cfe7267b0fde8cdb23aa21bdec0a852
parent40c139664439b2576e1506fbca14a7b79425a9dd
tests: Make PASN checks for PTKSA_CACHE_LIST a bit more robust

It was apparently possible for the test script to fetch the
PTKSA_CACHE_LIST information from hostapd before the PASN message 3 had
been processed since only the event from wpa_supplicant related to
sending of that frame was explicitly waited for. Add a small wait to try
to avoid this race condition with UML time-travel.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_pasn.py