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

Commit 931e6959 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "TranscodingSessionControllerTest: Allow extra time to receive onError"...

Merge "TranscodingSessionControllerTest: Allow extra time to receive onError" am: e9bd2c84 am: df58778f am: a0df991d

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2382005



Change-Id: I3befc51200b4eed28c83adce8a9f1db167b3eba7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents e8eb2cde a0df991d
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) {