diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-26 20:47:07 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-06-26 20:47:07 +0000 |
commit | b2b6c6b41b71cec1e8bfeec2b74faa3fb1cd0d1e (patch) | |
tree | 8dc052264d41a30315546c28bb5e49a1ad64e817 | |
parent | 249b72741ba7d1c081ee26472cea82214599b95c (diff) | |
parent | f6eeec3c093ba7e6727e82d8405f59d40c882ca4 (diff) | |
download | platform_tools_test_connectivity-oreo-release.tar.gz platform_tools_test_connectivity-oreo-release.tar.bz2 platform_tools_test_connectivity-oreo-release.zip |
Merge cherrypicks of [2461233, 2461302, 2461279, 2461176, 2461341, 2461280, 2461290, 2461342, 2461291, 2461216, 2461217, 2461304, 2461306, 2461381, 2461307, 2461234, 2461195, 2461308, 2461362, 2461235, 2461218, 2461363, 2461323, 2461382, 2461345] into oc-releaseandroid-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-cts-release
Change-Id: I3c3e0d6b73111f5a8fdc2e8984148e28dbf20115
-rw-r--r-- | acts/tests/google/wifi/WifiTeleCoexTest.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/acts/tests/google/wifi/WifiTeleCoexTest.py b/acts/tests/google/wifi/WifiTeleCoexTest.py index 3e4479db1a..9d8b9ec9a4 100644 --- a/acts/tests/google/wifi/WifiTeleCoexTest.py +++ b/acts/tests/google/wifi/WifiTeleCoexTest.py @@ -118,11 +118,18 @@ class WifiTeleCoexTest(TelephonyBaseTest): """ self.log.debug("Toggling Airplane mode ON") + asserts.assert_true( acts.utils.force_airplane_mode(self.dut, True), "Can not turn on airplane mode on: %s" % self.dut.serial) + # Sleep for atleast 500ms so that, call to enable wifi is not deferred. + time.sleep(1) + self.log.debug("Toggling wifi ON") wifi_utils.wifi_toggle_state(self.dut, True) + if not self.dut.droid.wifiGetisWifiEnabled(): + raise signals.TestFailure("WiFi did not turn on after turning ON" + "Airplane mode") asserts.assert_true( acts.utils.force_airplane_mode(self.dut, False), "Can not turn on airplane mode on: %s" % self.dut.serial) |