![]() 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. |
||
---|---|---|
.. | ||
connect_after_hidden_connect_test.py | ||
exceptions_test.py | ||
hw.conf | ||
main.conf | ||
open_network_test.py | ||
ssidAlreadyKnown.open | ||
ssidHiddenOpen.conf | ||
ssidHiddenWPA.conf | ||
ssidOpen.conf | ||
ssidOverlap1.conf | ||
ssidOverlap2.conf | ||
ssidSomeHidden.conf | ||
validation.py | ||
wpa_network_test.py |