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

auto-t: add missing ocv option and wait to testChannelSwitch

This should have been added to the original test
This commit is contained in:
James Prestwood 2021-10-19 12:02:32 -07:00 committed by Denis Kenzior
parent b16621b9ee
commit bec0cabde4
2 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,10 @@ class Test(unittest.TestCase):
testutil.test_ifaces_connected()
hapd.chan_switch(2)
# Make sure the SA Query is verified and IWD doesn't disconnect
with self.assertRaises(TimeoutError):
condition = 'obj.state == DeviceState.disconnected'
wd.wait_for_object_condition(device, condition, 4)
condition = 'obj.state == DeviceState.connected'
wd.wait_for_object_condition(device, condition)

View File

@ -5,3 +5,4 @@ ssid=ssidCCMP
wpa=2
wpa_pairwise=CCMP
wpa_passphrase=secret123
ocv=1