3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:19:34 +01:00

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.
This commit is contained in:
James Prestwood 2024-02-14 11:30:20 -08:00 committed by Denis Kenzior
parent ba5a6df2d1
commit a507c08bfe

View File

@ -221,6 +221,8 @@ class Test(unittest.TestCase):
cls.rule_bss2 = hwsim.rules.create() cls.rule_bss2 = hwsim.rules.create()
cls.rule_bss2.source = hwsim.get_radio('rad2').addresses[0] cls.rule_bss2.source = hwsim.get_radio('rad2').addresses[0]
HostapdCLI.group_neighbors(*cls.bss_hostapd)
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):
IWD.clear_storage() IWD.clear_storage()