tests: Make INTERWORKING_SELECT tests more robust
authorJouni Malinen <j@w1.fi>
Sat, 26 Apr 2014 13:01:52 +0000 (16:01 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 29 Apr 2014 09:52:10 +0000 (12:52 +0300)
commit0dee3a0a5d379d461dec009aa29f9b2d98f46b25
tree14208761a9bb49359d1d12136eeffb9c33932754
parentc0333c8dd59b9e254d3fc725c984b1c0cd3d496a
tests: Make INTERWORKING_SELECT tests more robust

It is possible for a scan to fail to see Probe Response or Beacon frame
under heavy load (e.g., during a parallel-vm.sh test run) since the
dwell time on a chanenl is quite short. Make the test cases using
INTERWORKING_SELECT more robust by trying again if the first attempt
does not find a matching BSS.

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