From a507c08bfe4fa59497091dc800f04ccab37f16b8 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 14 Feb 2024 11:30:20 -0800 Subject: [PATCH] auto-t: fix failed_roam_test to pass when run on its own When running this test with others the hostapd neighbors are already grouped which lets the test pass. On its own this does not happen and it fails. --- autotests/testPSK-roam/failed_roam_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/testPSK-roam/failed_roam_test.py b/autotests/testPSK-roam/failed_roam_test.py index 12e439f6..8cce8bb5 100644 --- a/autotests/testPSK-roam/failed_roam_test.py +++ b/autotests/testPSK-roam/failed_roam_test.py @@ -221,6 +221,8 @@ class Test(unittest.TestCase): cls.rule_bss2 = hwsim.rules.create() cls.rule_bss2.source = hwsim.get_radio('rad2').addresses[0] + HostapdCLI.group_neighbors(*cls.bss_hostapd) + @classmethod def tearDownClass(cls): IWD.clear_storage()