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

Commit 5e4343a7 authored by Rakesh Kumar's avatar Rakesh Kumar
Browse files

TranscodingSessionControllerTest: Allow extra time to receive onError

Tests destruct TranscodingSessionController class before completing
onError.

Bug: 240537336

Test: atest TranscodingSessionController_tests
Change-Id: Iae2b152e8005850d6ef341bc84e032c58ad2676a
parent 4dc86526
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -337,6 +337,8 @@ public:
        // Should have created new transcoder.
        EXPECT_EQ(mTranscoder->getGeneration(), generation);
        EXPECT_EQ(mTranscoder.use_count(), 2);
        // b/240537336: Allow extra time to finish onError call
        sleep(1);
    }

    void testPacerHelper(int numSubmits, int sessionDurationMs, int expectedSuccess) {