Merge "Increased the timeout from 5 to 30 seconds"
This commit is contained in:
@@ -498,7 +498,7 @@ public class ConnectivityManagerTest {
|
|||||||
public void testConnectivityManagerDoesNotLeakContext() throws Exception {
|
public void testConnectivityManagerDoesNotLeakContext() throws Exception {
|
||||||
final WeakReference<Context> ref = makeConnectivityManagerAndReturnContext();
|
final WeakReference<Context> ref = makeConnectivityManagerAndReturnContext();
|
||||||
|
|
||||||
final int attempts = 100;
|
final int attempts = 600;
|
||||||
final long waitIntervalMs = 50;
|
final long waitIntervalMs = 50;
|
||||||
for (int i = 0; i < attempts; i++) {
|
for (int i = 0; i < attempts; i++) {
|
||||||
forceGC();
|
forceGC();
|
||||||
|
|||||||
Reference in New Issue
Block a user