diff options
author | Xia Wang <xiaw@google.com> | 2011-02-23 11:39:14 -0800 |
---|---|---|
committer | Xia Wang <xiaw@google.com> | 2011-02-23 11:39:14 -0800 |
commit | 8d2f78898eedef90b7382e2517e88db0e0e9ca58 (patch) | |
tree | 369a755fa02a22b4bc116bbf012725468db2b653 /core/tests | |
parent | afc671fc5ed81941c972d5318555b84a63eb2619 (diff) | |
download | frameworks_base-8d2f78898eedef90b7382e2517e88db0e0e9ca58.zip frameworks_base-8d2f78898eedef90b7382e2517e88db0e0e9ca58.tar.gz frameworks_base-8d2f78898eedef90b7382e2517e88db0e0e9ca58.tar.bz2 |
Remove long sleep time in WifiApStress test
as it causes the test to run for a long time.
Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiApStress.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiApStress.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiApStress.java index 1374e7f..41104fe 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiApStress.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/WifiApStress.java @@ -108,15 +108,6 @@ public class WifiApStress fail("thread in sleep is interrupted"); } assertTrue("no uplink data connection after Wi-Fi tethering", mAct.pingTest(null)); - // Wait for 5 minutes, and verify the data connection again. - // bug id: 3400027 - try { - Thread.sleep(5 * 60 * 1000); - } catch (Exception e) { - fail("thread in sleep is interrupted"); - } - // Verify the uplink data connection - assertTrue("no uplink data connection", mAct.pingTest(null)); // Disable soft AP assertTrue(mAct.mWifiManager.setWifiApEnabled(config, false)); // Wait for 30 seconds until Wi-Fi tethering is stopped |