auto-t: add missing ocv option and wait to testChannelSwitch
James Prestwood
PATCH 1/1 auto-t: add missing ocv option and wait to testChannelSwitch
This should have been added to the original test
--- autotests/testChannelSwitch/connection_test.py | 4 ++++ autotests/testChannelSwitch/ssidCCMP.conf | 1 + 2 files changed, 5 insertions(+)
autotests/testChannelSwitch/connection_test.py +4 -0
@@ -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)
autotests/testChannelSwitch/ssidCCMP.conf +1 -0
@@ -5,3 +5,4 @@ ssid=ssidCCMP wpa=2 wpa_pairwise=CCMP wpa_passphrase=secret123 +ocv=1
Signature · 1 line
2.31.1
Denis Kenzior
AppliedHi James,
Quoted 5 lines · James Prestwood
This should have been added to the original test
--- autotests/testChannelSwitch/connection_test.py | 4 ++++ autotests/testChannelSwitch/ssidCCMP.conf | 1 + 2 files changed, 5 insertions(+)
Applied, thanks.
Regards,
-Denis