tests: Add some delay before wlantest operations
authorJouni Malinen <j@w1.fi>
Tue, 14 Jan 2014 21:31:23 +0000 (23:31 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 14 Jan 2014 22:09:56 +0000 (00:09 +0200)
commit94a2dd0b252719999f3831aded2f6085c020ae96
tree10e1d8b3d57ecd42fc55f93ef7ea77ddfcac3f83
parentb21df6e779979d334cc7e5aee878afc3d9213d1a
tests: Add some delay before wlantest operations

Since wlantest is a separate process that is not synchronized with rest
of the test components, there can be some latency in it having the STA
entries and counters updated. There is a race condition between this
happening and then test script clearing or fetching data. Make this race
condition less likely to cause bogus test failures by adding some wait
between these operations.

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