[PATCH v5 5/8] auto-t: Fix tests relying on full-roam-scan
Alexander Ganslandt <[email protected]> Fri, 28 Nov 2025 12:54:26 +0100
| Newsgroups | dev.linux.lists.iwd |
|---|---|
| Message-ID | <[email protected]> |
These tests can't be guaranteed to reach a full scan anymore, as iwd
will find the BSS before that happens. Getting the roaming and connected
events should be enough to pass these tests.
---
autotests/testAPRoam/bad_neighbor_report_test.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/autotests/testAPRoam/bad_neighbor_report_test.py b/autotests/testAPRoam/bad_neighbor_report_test.py
index ab275e71..e361d37d 100644
--- a/autotests/testAPRoam/bad_neighbor_report_test.py
+++ b/autotests/testAPRoam/bad_neighbor_report_test.py
@@ -71,8 +71,7 @@ class Test(unittest.TestCase):
)
self.device.wait_for_event("roam-scan-triggered")
self.device.wait_for_event("no-roam-candidates")
- # IWD should then trigger a full scan
- self.device.wait_for_event("full-roam-scan")
+ # IWD should then start scanning until it finds a BSS
self.device.wait_for_event("roaming", timeout=30)
self.device.wait_for_event("connected")
@@ -99,8 +98,7 @@ class Test(unittest.TestCase):
# channel 11 which no AP is on. This should result in a limited scan
# picking up no candidates.
self.device.wait_for_event("no-roam-candidates", timeout=30)
- # IWD should then trigger a full scan
- self.device.wait_for_event("full-roam-scan")
+ # IWD should then start scanning until it finds a BSS
self.device.wait_for_event("roaming", timeout=30)
self.device.wait_for_event("connected")
--
2.39.5