3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

auto-t: delay rekeys in extended key ID test

The test was rekeying in a loop which ends up confusing hostapd
depending on the timing of when it gets the REKEY command and any
responses from IWD. UML seemed to handle this fine but not QEMU.

Instead delay the rekey a bit to allow it to fully complete before
sending another.
This commit is contained in:
James Prestwood 2022-04-04 08:54:33 -07:00 committed by Denis Kenzior
parent 25db380833
commit 57ae02ab71

View File

@ -50,6 +50,8 @@ class Test(unittest.TestCase):
testutil.test_iface_operstate()
testutil.test_ifaces_connected()
wd.wait(0.5)
device.disconnect()
condition = 'not obj.connected'