3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

auto-t: wait for roam events in proper order

These were out of order and would sometimes fail the check.
This commit is contained in:
James Prestwood 2022-03-31 16:16:37 -07:00 committed by Denis Kenzior
parent 1e56898606
commit 95ad47bd98

View File

@ -32,8 +32,8 @@ class Test(unittest.TestCase):
# Since both BSS's have low signal, the roam should fail and trigger # Since both BSS's have low signal, the roam should fail and trigger
# another roam scan. # another roam scan.
device.wait_for_event('no-roam-candidates', timeout=30)
device.wait_for_event('roam-scan-triggered', timeout=30) device.wait_for_event('roam-scan-triggered', timeout=30)
device.wait_for_event('no-roam-candidates', timeout=30)
# Hostapd sends disconnect # Hostapd sends disconnect
self.bss_hostapd[0].disable() self.bss_hostapd[0].disable()