commit | 0f53262c7b03797eea589c7f1c69facda2c1f243 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Sun Sep 03 06:50:46 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Sep 08 06:55:36 2023 +0000 |
tree | ddf4908ac80f8bb453c1d3e01d4d9ec92ba1a131 | |
parent | fcd2b7ccb0c9830ec91c0976f4c5881acb25219c [diff] |
Increase the timeout waiting for the test app's network status. Bug: 298729534 Test: atest com.android.cts.net.HostsideConnOnActivityStartTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eaf030ea96f3af817e8b301c8edf48f79d7f229d) Merged-In: I58a23e927cd14b973048e34566350eeef215f7db Change-Id: I58a23e927cd14b973048e34566350eeef215f7db
diff --git a/tests/cts/hostside/app/src/com/android/cts/net/hostside/AbstractRestrictBackgroundNetworkTestCase.java b/tests/cts/hostside/app/src/com/android/cts/net/hostside/AbstractRestrictBackgroundNetworkTestCase.java index 1c99722..89a55a7 100644 --- a/tests/cts/hostside/app/src/com/android/cts/net/hostside/AbstractRestrictBackgroundNetworkTestCase.java +++ b/tests/cts/hostside/app/src/com/android/cts/net/hostside/AbstractRestrictBackgroundNetworkTestCase.java
@@ -136,7 +136,7 @@ private static final int BATTERY_STATE_TIMEOUT_MS = 5000; private static final int BATTERY_STATE_CHECK_INTERVAL_MS = 500; - private static final int ACTIVITY_NETWORK_STATE_TIMEOUT_MS = 6_000; + private static final int ACTIVITY_NETWORK_STATE_TIMEOUT_MS = 10_000; private static final int JOB_NETWORK_STATE_TIMEOUT_MS = 10_000; private static final int LAUNCH_ACTIVITY_TIMEOUT_MS = 10_000;