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

Commit 9ba73fdf authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Bass: Fix handler timeout message test flakiness" into main

parents c55eb6ca bb46e9c8
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -6280,7 +6280,9 @@ public class BassClientServiceTest {

        checkAndDispatchTimeout(
                TEST_BROADCAST_ID, BassClientService.MESSAGE_BROADCAST_MONITOR_TIMEOUT);
        verifyStopBigMonitoringWithUnsync();
        mInOrderMethodProxy
                .verify(mMethodProxy)
                .periodicAdvertisingManagerUnregisterSync(any(), any());
        verifyRemoveMessageAndInjectSourceRemoval();
        checkNoResumeSynchronizationByBig();
    }
@@ -6310,7 +6312,9 @@ public class BassClientServiceTest {

        checkAndDispatchTimeout(
                TEST_BROADCAST_ID, BassClientService.MESSAGE_BROADCAST_MONITOR_TIMEOUT);
        verifyStopBigMonitoringWithoutUnsync();
        mInOrderMethodProxy
                .verify(mMethodProxy, never())
                .periodicAdvertisingManagerUnregisterSync(any(), any());
        verifyRemoveMessageAndInjectSourceRemoval();
        checkNoResumeSynchronizationByBig();
    }
@@ -6324,7 +6328,9 @@ public class BassClientServiceTest {
        sinkUnintentionalWithoutScanning();

        checkAndDispatchTimeout(TEST_BROADCAST_ID, BassClientService.MESSAGE_BIG_MONITOR_TIMEOUT);
        verifyStopBigMonitoringWithUnsync();
        mInOrderMethodProxy
                .verify(mMethodProxy)
                .periodicAdvertisingManagerUnregisterSync(any(), any());
        verifyRemoveMessageAndInjectSourceRemoval();
        checkNoResumeSynchronizationByBig();
    }
@@ -6338,7 +6344,9 @@ public class BassClientServiceTest {
        sinkUnintentionalDuringScanning();

        checkAndDispatchTimeout(TEST_BROADCAST_ID, BassClientService.MESSAGE_BIG_MONITOR_TIMEOUT);
        verifyStopBigMonitoringWithoutUnsync();
        mInOrderMethodProxy
                .verify(mMethodProxy, never())
                .periodicAdvertisingManagerUnregisterSync(any(), any());
        verifyRemoveMessageAndInjectSourceRemoval();
        checkNoResumeSynchronizationByBig();
    }
@@ -6711,7 +6719,9 @@ public class BassClientServiceTest {

        checkAndDispatchTimeout(
                TEST_BROADCAST_ID, BassClientService.MESSAGE_BROADCAST_MONITOR_TIMEOUT);
        verifyStopBigMonitoringWithUnsync();
        mInOrderMethodProxy
                .verify(mMethodProxy)
                .periodicAdvertisingManagerUnregisterSync(any(), any());
    }

    @Test