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
This commit is contained in:
Sudheer Shanka 2023-09-03 06:50:46 +00:00 • committed by Android Build Cherrypicker Worker
commit 0f53262c7b

View file

@ -136,7 +136,7 @@ public abstract class AbstractRestrictBackgroundNetworkTestCase {
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;