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

Commit bf8a6760 authored by Sarp Misoglu's avatar Sarp Misoglu
Browse files

Fix broken test by increasing Thread#join timeout

The timeout was added in ag/19606284 but it seems 1ms wasn't enough for
the work to complete so the test as almost 100% flaky.

Test: atest UserBackupManagerServiceTest
Fixes: 276437270

Change-Id: Ie8ff85d8fc52ae9e9d80778131afc0bf8a8eedd6
parent 04b3438c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ public class UserBackupManagerServiceTest {
    private static final String TEST_PACKAGE = "package1";
    private static final String[] TEST_PACKAGES = new String[] { TEST_PACKAGE };
    private static final String TEST_TRANSPORT = "transport";
    private static final int WORKER_THREAD_TIMEOUT_MILLISECONDS = 1;
    private static final int WORKER_THREAD_TIMEOUT_MILLISECONDS = 100;
    @UserIdInt private static final int USER_ID = 0;

    @Mock IBackupManagerMonitor mBackupManagerMonitor;