iwd/autotests
James Prestwood 2bd2462968 auto-t: fix hidden network test
This test was never 100% reliable, and after the test-runner re-write
it became extremely unreliable. The issue came down to the very common
block of code thats present in many tests where we wait for obj.scanning
then not obj.scanning. This is fine when a dbus scan() is explicitly
done before, otherwise it could lead to problems. Without a dbus scan
explicitly called we are assuming a periodic scan will happen. If it
already happen the initial wait for obj.scanning will never return and
time out.

This probably needs to be changed in several tests, but for this specific
case we can remove the waits completely. Since
check_autoconnect_hidden_network has a 30 second wait on
DeviceState.connected this will ultimately time out if anything goes
wrong. There isn't any great reason to wait for scanning (for this test
specifically).

A minor style change was also made when initializing IWD. The values
passed in this test are now the default, so no arguments need to be
passed.
2020-09-10 17:59:49 -05:00
..
misc auto-t: Test PEAPv0 cryptobinding 2020-02-03 11:34:29 -06:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAP-no-support auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAPRoam auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAdHoc auto-t: Remove unused imports 2020-04-09 16:46:31 -05:00
testAddressRandomization auto-t: fix testAddressRandomization 2020-03-21 00:10:34 -05:00
testAgent auto-t: Test Agent ops 2020-05-13 05:50:45 -05:00
testBSSBlacklist auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testClientNonInteractive auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testConnectAutoconnect auto-t: use scan_if_needed for testConnectAutoconnect 2020-05-02 06:40:23 -05:00
testDisconnectByAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testDisconnectOnConnect auto-t: Test disconnect on connect while connected 2019-07-23 17:19:12 -05:00
testEAP-AKA auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-AKA-ofono auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-AKA-prime auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-AKA-prime-ofono auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-MSCHAPV2 auto-t: fix intermittent failures in testEAP-MSCHAPV2 2019-11-14 12:58:18 -06:00
testEAP-PEAP treewide: Rename EAP mtu key to MTU 2019-10-24 13:51:20 -05:00
testEAP-PEAP-GTC auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-PEAP-MSCHAPv2 auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-PEAP-SIM auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-PWD auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-SIM auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-SIM-ofono auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-TLS auto-t: update testEAP-TLS to use HostapdCLI 2019-10-28 15:01:36 -05:00
testEAP-TLS-Frag auto-t: remove iwd_config_dir from autotests 2020-03-21 00:10:36 -05:00
testEAP-TLS-embedded-pems auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-TLSwithMFPC auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-TLSwithMFPR auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-TTLS auto-t: Rename setting Autoconnect to AutoConnect 2019-10-24 13:04:53 -05:00
testEAP-TTLS-CHAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-TTLS-EAP-MSCHAPV2 auto-t: update tests to use get_ordered_network call 2018-12-14 13:47:00 -06:00
testEAP-TTLS-Frag auto-t: remove iwd_config_dir from autotests 2020-03-21 00:10:36 -05:00
testEAP-TTLS-MSCHAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-TTLS-MSCHAPv2 auto-t: remove busy wait for eapol reauth 2020-07-08 18:29:01 -05:00
testEAP-TTLS-PAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-WPS auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-WPS-Frag auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFILS auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-8021x-roam auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-FILS-SHA256 auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-FILS-SHA384 auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-PSK-over-DS auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-PSK-roam auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFT-SAE-roam auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testHT-VHT auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testHiddenNetworks auto-t: fix hidden network test 2020-09-10 17:59:49 -05:00
testHotspot auto-t: add test for delayed ANQP response 2020-06-12 15:04:43 -05:00
testKnownNetworks treewide: Use CamelCase for disable_anqp setting 2019-10-24 23:18:23 -05:00
testMFP-Options autotests: Remove del wd at the end function pattern 2019-04-22 18:20:01 -05:00
testOWE auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testOpen auto-t: update tests to use get_ordered_network call 2018-12-14 13:47:00 -06:00
testPreauth-roam auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testRRM auto-t: add RRM test for scan duration 2019-11-15 14:17:25 -06:00
testRSSIAgent auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testSAE auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testSAQuery auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testSAQuery-spoofing auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testScan treewide: Use CamelCase for [Scan] settings 2019-10-24 15:58:08 -05:00
testScanKnownFreqs auto-t: updated testScanKnownFreqs 2019-09-12 11:36:00 -05:00
testWPA auto-t: update tests to use get_ordered_network call 2018-12-14 13:47:00 -06:00
testWPA2 autotests: Remove del wd at the end function pattern 2019-04-22 18:20:01 -05:00
testWPA2-SHA256 auto-t: update tests to use get_ordered_network call 2018-12-14 13:47:00 -06:00
testWPA2-no-CCMP auto-t: add test for CCMP with no support 2019-05-13 16:38:23 -05:00
testWPA2withMFP auto-t: update tests to use get_ordered_network call 2018-12-14 13:47:00 -06:00
util auto-t: remove wiphy.py 2020-09-10 17:59:49 -05:00