Merge "Increased the timeout from 5 to 30 seconds"

This commit is contained in:
Mark Chien
2022-12-06 14:53:44 +00:00
committed by Gerrit Code Review

View File

@@ -498,7 +498,7 @@ public class ConnectivityManagerTest {
public void testConnectivityManagerDoesNotLeakContext() throws Exception {
final WeakReference<Context> ref = makeConnectivityManagerAndReturnContext();
final int attempts = 100;
final int attempts = 600;
final long waitIntervalMs = 50;
for (int i = 0; i < attempts; i++) {
forceGC();