commit bec0cabde4bcad4eaecb6e635c5e1047c6cad4d6
parent b16621b9ee20e3bb3bcc51002fc98cf7ebdc5123
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 19 Oct 2021 12:02:32 -0700
auto-t: add missing ocv option and wait to testChannelSwitch
This should have been added to the original test
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/autotests/testChannelSwitch/connection_test.py b/autotests/testChannelSwitch/connection_test.py
@@ -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)
diff --git a/autotests/testChannelSwitch/ssidCCMP.conf b/autotests/testChannelSwitch/ssidCCMP.conf
@@ -5,3 +5,4 @@ ssid=ssidCCMP
wpa=2
wpa_pairwise=CCMP
wpa_passphrase=secret123
+ocv=1