From 95ad47bd98d0ab02dd4e35ea2893074c823defb4 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 31 Mar 2022 16:16:37 -0700 Subject: [PATCH] auto-t: wait for roam events in proper order These were out of order and would sometimes fail the check. --- autotests/testPSK-roam/roam_ap_disconnect_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/testPSK-roam/roam_ap_disconnect_test.py b/autotests/testPSK-roam/roam_ap_disconnect_test.py index 9cef3090..760c25fa 100644 --- a/autotests/testPSK-roam/roam_ap_disconnect_test.py +++ b/autotests/testPSK-roam/roam_ap_disconnect_test.py @@ -32,8 +32,8 @@ class Test(unittest.TestCase): # Since both BSS's have low signal, the roam should fail and trigger # 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('no-roam-candidates', timeout=30) # Hostapd sends disconnect self.bss_hostapd[0].disable()