Revert "Relax the check of network availability in CtsHostsideNetworkTests."
This reverts commit 863ec4b9cb.
Bug: 27803922
Change-Id: I3ccf33779df580ed615f44d0410676cba972ea6c
This commit is contained in:
@@ -833,9 +833,7 @@ abstract class AbstractRestrictBackgroundNetworkTestCase extends Instrumentation
|
||||
}
|
||||
if (latch.await(FOREGROUND_PROC_NETWORK_TIMEOUT_MS, TimeUnit.MILLISECONDS)) {
|
||||
if (!errors[0].isEmpty()) {
|
||||
// TODO: revert this change once b/35523062 is fixed.
|
||||
// fail("Network is not available for app2 (" + mUid + "): " + errors[0]);
|
||||
assertForegroundNetworkAccess();
|
||||
fail("Network is not available for app2 (" + mUid + "): " + errors[0]);
|
||||
}
|
||||
} else {
|
||||
fail("Timed out waiting for network availability status from app2 (" + mUid + ")");
|
||||
|
||||
Reference in New Issue
Block a user