]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make DPP protocol failure testing more robust
authorJouni Malinen <jouni@codeaurora.org>
Wed, 13 Mar 2019 17:40:50 +0000 (19:40 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 13 Mar 2019 17:44:50 +0000 (19:44 +0200)
commit3d5cfa0f6df6dd089c4a12caa253215894e656a1
tree38def927d182d589131c04bfa277e1f4be13abdf
parent8b944cf779629141896a269fd6b181a05b4d9148
tests: Make DPP protocol failure testing more robust

Wait explicitly for the DPP-NOT-COMPATIBLE event when going through
protocol testing with local failures instead of just waiting for a fixed
0.1 second duration. This prevents a test failure at least in
dppauth_resp_status_failure in a case where the failing operation may be
delayed under heavy CPU load.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_dpp.py