tests: Make FT test cases more robust
authorJouni Malinen <j@w1.fi>
Wed, 14 May 2014 14:02:32 +0000 (17:02 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 13:56:59 +0000 (16:56 +0300)
commit655bc8bfd67b8d10235057824ca089e7826d9776
tree91ee9e1e7cc31e5cf568faa016822b898bc2673b
parent841bed04de2ecf3ce11837479bd45d66043642dc
tests: Make FT test cases more robust

Scan explicitly for the AP that may be started during the test case
execution. This is needed to work around issues where under heavy CPU
load, the single active scan round may miss the delayed Probe Response
from the second AP. In addition, check for ROAM/FT_DS failures to be
able to report errors more clearly.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ft.py
tests/hwsim/wpasupplicant.py