tests: Make wpas_mesh_password_mismatch more robust
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 12 Feb 2015 13:50:52 +0000 (15:50 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 12 Feb 2015 13:50:52 +0000 (15:50 +0200)
commit792eafa04723c19d51bdccd5711070c04cf207fb
tree474919254c623631b5404dfd161dafcb828d5bc5
parent480994dafb8bc4c53807ab884f4ee58693fda6b6
tests: Make wpas_mesh_password_mismatch more robust

It seems to be possible for dev2 (the one with incorrect password) to
stop retries before either dev0 or dev1 reports the authentication
failure event. For now, allow the test case pass if either dev0 or dev1
reports the event rather than requiring both to report this. The
expected behavior can be fine-tuned in the future if the reporting
behavior is modified to be more consistent.

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