[Tests]Add more delay in the softAP test. am: 20068f3299
am: 72e67dea80
Change-Id: Ib6764993a9930283e74c1aaf0c9412fe4ecb1fb5
diff --git a/acts/tests/google/wifi/WifiStressTest.py b/acts/tests/google/wifi/WifiStressTest.py
index f0eda72..300ddd0 100755
--- a/acts/tests/google/wifi/WifiStressTest.py
+++ b/acts/tests/google/wifi/WifiStressTest.py
@@ -297,7 +297,8 @@
wutils.stop_wifi_tethering(self.dut)
asserts.assert_false(self.dut.droid.wifiIsApEnabled(),
"SoftAp failed to shutdown!")
- time.sleep(TIMEOUT)
+ # Give some time for WiFi to come back to previous state.
+ time.sleep(2)
cur_wifi_state = self.dut.droid.wifiCheckState()
if initial_wifi_state != cur_wifi_state:
raise signals.TestFailure("Wifi state was %d before softAP and %d now!" %