]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make scan_bss_expiration_count more robust with UML
authorJouni Malinen <jouni@codeaurora.org>
Thu, 1 Aug 2019 12:44:22 +0000 (15:44 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 1 Aug 2019 12:44:22 +0000 (15:44 +0300)
commitac069a31ded8758ed1d5d09c6ecb534970896ba9
treedff26d75e7a0ed3f8e4f987d7cea4cb617847ecd
parentbef411a91bb1507222fb7a53a5c88fcb4525a11c
tests: Make scan_bss_expiration_count more robust with UML

Test case sequence "persistent_group_channel scan_bss_expiration_count"
was failing with UML when using time travel. This seemed to be because
there was no explicit wait to confirm that the AP has been fully
disabled before running the next scan. Work around this by verifying
that hostapd has terminated the BSS and waiting a bit after that before
proceeding.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_scan.py