tests: Make WPA2-Enterprise reauth test cases more robust
authorJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 14:35:05 +0000 (16:35 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:11 +0000 (10:45 +0200)
commitcb33ee143bec05144bcc89a54db8928a1355da68
treea1d8530cc2b8340d722c614eb6eff84998527c46
parent0c35b91c5f03c0a5dbe180f16e4ee9f3b30129b2
tests: Make WPA2-Enterprise reauth test cases more robust

With the extra latencies removed from run-tests.py operations, it was
possible to hit race conditions in pairwise cipher configuration at the
end of the 4-way handshake. In some cases, the EAPOL-Start frame from
the station was not received by the AP and that could result in these
test cases failing. Since there are not really trying to test the race
condition, wait for the AP side to complete key configuration prior to
initiating the reauthentication sequence.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py