Skip to content

Commit 567ac9e

Browse files
committed
Increase timeout for async tasks in test.
1 parent 8dd8f91 commit 567ac9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-config/src/test/java/com/google/firebase/remoteconfig/FirebaseRemoteConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ private void flushScheduledTasks() throws InterruptedException {
14501450
// When the existing tasks have been executed, the countdown will execute and release the latch.
14511451
CountDownLatch latch = new CountDownLatch(1);
14521452
scheduledExecutorService.execute(latch::countDown);
1453-
assertTrue("Task didn't finish.", latch.await(10, TimeUnit.MILLISECONDS));
1453+
assertTrue("Task didn't finish.", latch.await(1000, TimeUnit.MILLISECONDS));
14541454
}
14551455

14561456
private ConfigUpdateListener generateEmptyRealtimeListener() {

0 commit comments

Comments
 (0)