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

Commit 988d13f5 authored by Sungsoo Lim's avatar Sungsoo Lim Committed by Automerger Merge Worker
Browse files

Merge "Fix BrowsablePlayerConnectorTest" into main am: aeab5899 am: 4cab46c7

parents 348f9be3 4cab46c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ public final class BrowsablePlayerConnectorTest {
                        mTestLooper.getLooper(),
                        mPlayerList,
                        (List<BrowsedPlayerWrapper> players) -> latch.countDown());
        verify(mMediaBrowser, timeout(TIMEOUT_MS)).connect();
        verify(mMediaBrowser, timeout(TIMEOUT_MS).atLeast(1)).connect();
        assertThat(latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue();
        connector.cleanup();
        mTestLooper.stopAutoDispatch();
@@ -111,7 +111,7 @@ public final class BrowsablePlayerConnectorTest {
                        mTestLooper.getLooper(),
                        mPlayerList,
                        (List<BrowsedPlayerWrapper> players) -> {});
        verify(mMediaBrowser, timeout(TIMEOUT_MS)).connect();
        verify(mMediaBrowser, timeout(TIMEOUT_MS).atLeast(1)).connect();
        connector.cleanup();
        mTestLooper.dispatchAll();
    }