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

Commit ca54a484 authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Fix flaky conference tests

am: 248f732f

Change-Id: I32df40d3edde90022dc347a4e92f75281ae87cdd
parents 23976c9f 248f732f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -388,8 +388,8 @@ public class TelecomSystemTest extends TelecomTestCase {

        IInCallAdapter inCallAdapter = mInCallServiceFixtureX.getInCallAdapter();
        inCallAdapter.conference(callId1.mCallId, callId2.mCallId);
        // Wait for wacky non-deterministic behavior
        Thread.sleep(200);
        // Wait for the handler in ConnectionService
        waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT);
        ParcelableCall call1 = mInCallServiceFixtureX.getCall(callId1.mCallId);
        ParcelableCall call2 = mInCallServiceFixtureX.getCall(callId2.mCallId);
        // Check that the two calls end up with a parent in the end