]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make dpp_auth_req_retries* more reliable
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 30 Nov 2017 10:56:24 +0000 (12:56 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 30 Nov 2017 10:56:24 +0000 (12:56 +0200)
commitedac8087e663db58fe830d2c66bfc7ea3c9438de
tree6fc36759a59ca3f3308aa724084c2f160a8e6b17
parent0e19300d5bc3208160cb8082362df6fac967291d
tests: Make dpp_auth_req_retries* more reliable

These test cases were failing when run immediately after
dpp_pkex_test_fail. It looks like timing of the TX status and the short
eloop wait were getting reordered in this cases. This ended up with some
of the DPP-TX-STATUS event messages missing. Instead of explicitly
checking for those message, simply count the number of DPP-TX messages
to verify that the correct number of retries are being sent.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dpp.py