]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make scan_random_mac more robust
authorJouni Malinen <j@w1.fi>
Wed, 7 Jan 2015 14:29:19 +0000 (16:29 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 7 Jan 2015 14:31:22 +0000 (16:31 +0200)
commit6a964b7560ab5b12b144ffaaaec07d84ffa74942
treee92a4cf02cd90c3e76260dc2d3753ceb4246f133
parent51c5aeb42ac8ac3ddff6f679b40c64afb8a2b13a
tests: Make scan_random_mac more robust

There is a race condition between wlantest having received and written
the sniffer log and this test case using tshark to process it. Wait one
second before running tshark to make it less likely to get truncated
results that can result in the test case failing.

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