3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-09 13:39:23 +01:00
iwd/autotests/testBSSBlacklist
James Prestwood 3a9c401f63 auto-t: fix blacklist test timing issues
This test fails randomly, and it appears to be due to excessive
scanning. Historically most autotests start a dbus scan right
away. The problem is that most likely a periodic scan is already
ongoing, meaning the dbus scan gets queued. If a Connect() call
comes in (which it always does), the dbus scan gets delayed and will
trigger once connected, at a time the test is not expecting. This
can cause problems with any assumed timing as well as offchannel
frames.

This patch removes the explicit DBus scanning and instead uses
scan_if_needed with get_ordered_networks. The 'all_blacklisted_test'
was also modified to wait for scanning to complete after failing
to connect to all BSS's. This lets all the networks fully come
up (after being blocked by hwsim) and appear in scan results.
2021-02-11 20:32:26 -06:00
..
all_blacklisted_test.py auto-t: fix blacklist test timing issues 2021-02-11 20:32:26 -06:00
bad_pass_test.py auto-t: fix blacklist test timing issues 2021-02-11 20:32:26 -06:00
connection_test.py auto-t: fix blacklist test timing issues 2021-02-11 20:32:26 -06:00
hw.conf auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
main.conf treewide: Switch to CamelCase for Blacklist settings 2019-10-24 13:38:11 -05:00
ssid1.conf auto-t: Add test for BSS blacklisting 2019-01-30 13:27:34 -06:00
ssid2.conf auto-t: Add test for BSS blacklisting 2019-01-30 13:27:34 -06:00
ssid3.conf auto-t: test for temporary blacklist 2019-03-01 13:13:19 -06:00
temp_blacklist_test.py auto-t: fix blacklist test timing issues 2021-02-11 20:32:26 -06:00