aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Prestwood <prestwoj@gmail.com>2024-01-03 10:46:35 -0800
committerDenis Kenzior <denkenz@gmail.com>2024-01-04 11:57:32 -0600
commit0a3797a4d4b0ec98120015819b4c7f44a5830a1d (patch)
treece33f6f08725a18bd974f38acea22b802ef78b0a
parent77e5c94dc6104c1792ad62e6f0c81f007950e607 (diff)
auto-t: update roam test to use new debug events
-rw-r--r--autotests/testPSK-roam/failed_roam_test.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/autotests/testPSK-roam/failed_roam_test.py b/autotests/testPSK-roam/failed_roam_test.py
index d42002d43..ccdec2c6f 100644
--- a/autotests/testPSK-roam/failed_roam_test.py
+++ b/autotests/testPSK-roam/failed_roam_test.py
@@ -60,7 +60,7 @@ class Test(unittest.TestCase):
self.rule0.enabled = False
# IWD should then try BSS 2, and succeed
- device.wait_for_event('ft-roam', timeout=60)
+ device.wait_for_event('ft-roaming', timeout=60)
self.verify_roam(self.wd, device, self.bss_hostapd[0], self.bss_hostapd[2])
self.bss_hostapd[2].deauthenticate(device.address)
@@ -75,7 +75,7 @@ class Test(unittest.TestCase):
self.connect(self.wd, device, self.bss_hostapd[0])
- device.wait_for_event('ft-roam', timeout=60)
+ device.wait_for_event('ft-roaming', timeout=60)
condition = 'obj.state == DeviceState.disconnected'
self.wd.wait_for_object_condition(device, condition)
@@ -101,14 +101,14 @@ class Test(unittest.TestCase):
# IWD should connect, then attempt a roam to BSS 1, which should
# fail and cause a fallback to reassociation
device.wait_for_event('ft-fallback-to-reassoc', timeout=60)
- device.wait_for_event('reassoc-roam', timeout=60)
+ device.wait_for_event('roaming', timeout=60)
self.verify_roam(self.wd, device, self.bss_hostapd[0], self.bss_hostapd[2])
# Trigger another roam
self.rule_bss2.signal = -8000
- device.wait_for_event('ft-roam', timeout=60)
+ device.wait_for_event('ft-roaming', timeout=60)
# Ensure an FT roam back to a properly configured AP works.
self.verify_roam(self.wd, device, self.bss_hostapd[2], self.bss_hostapd[1])
@@ -141,7 +141,7 @@ class Test(unittest.TestCase):
# fail and cause the rank to be re-computed. This should then put
# bss 1 as the next candidate (since the FT factor is removed)
device.wait_for_event('ft-fallback-to-reassoc', timeout=60)
- device.wait_for_event('ft-roam', timeout=60)
+ device.wait_for_event('ft-roaming', timeout=60)
self.verify_roam(self.wd, device, self.bss_hostapd[0], self.bss_hostapd[1])