Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4665e63c authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Increase timeout for loading archives in tests.

Test: ArchivesProviderTest.testOpen_Failure is flaky
Bug: 35920530
Change-Id: Ic7fbd4a0ea0e37dec039a61eee4c751bd96d877e
parent dc970f22
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class ArchivesProviderTest extends AndroidTestCase {
            });
        }

        latch.await(3, TimeUnit.SECONDS);
        latch.await(30, TimeUnit.SECONDS);
        {
            final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null);
            assertNotNull("Cursor must not be null. File not found?", cursor);
@@ -168,7 +168,7 @@ public class ArchivesProviderTest extends AndroidTestCase {
            });
        }

        latch.await(3, TimeUnit.SECONDS);
        latch.await(30, TimeUnit.SECONDS);
        {
            final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null);
            assertNotNull("Cursor must not be null. File not found?", cursor);