commit | 0c292bb1176fb40a157b3166db35d5402726f3c6 | [log] [tgz] |
---|---|---|
author | android-htc-contribute <android-htc-contribute@htc.com> | Wed Oct 05 11:09:36 2011 +0800 |
committer | Brian Muramatsu <btmura@google.com> | Mon Oct 10 12:27:36 2011 -0700 |
tree | b0cb799aff4758ad5a10d798c0722e08d6831949 | |
parent | 8670b1c23f1c074ce430213efc69f573410eabd3 [diff] |
Data call establish time is related to network condition which can’t be controlled by the device. Extend the time limitation to 30 seconds to cover most of the cases. Change-Id: I522f7eb23baa9a652fb3fd633d200cd6307180c8
diff --git a/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java b/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java index 96a935b..77191cb 100644 --- a/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java +++ b/tests/cts/net/src/android/net/cts/ConnectivityManagerTest.java
@@ -287,7 +287,7 @@ } public boolean waitForConnection() throws InterruptedException { - return mReceiveLatch.await(10, TimeUnit.SECONDS); + return mReceiveLatch.await(30, TimeUnit.SECONDS); } } }