Increased the timeout from 5 to 30 seconds
Increase the timeout to deal with the flaky test. Bug: 260073439 Test: TH Change-Id: I653d80cfa97256e139f8cf989a085b1133732092
This commit is contained in:
parent
ed3e683407
commit
82eb31b346
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue