Commit 962e6860 by ibaker Committed by Ian Baker

Deflake ClippedPlaybackTest

PiperOrigin-RevId: 362298115
parent 9d2d3340
......@@ -82,6 +82,7 @@ public final class ClippedPlaybackTest {
playbackEnded.block();
getInstrumentation().runOnMainSync(() -> player.get().release());
getInstrumentation().waitForIdleSync();
assertThat(Iterables.getOnlyElement(Iterables.concat(textOutput.cues)).text.toString())
.isEqualTo("This is the first subtitle.");
}
......@@ -135,6 +136,7 @@ public final class ClippedPlaybackTest {
playbackEnded.block();
getInstrumentation().runOnMainSync(() -> player.get().release());
getInstrumentation().waitForIdleSync();
assertThat(Iterables.getOnlyElement(Iterables.concat(textOutput.cues)).text.toString())
.isEqualTo("This is the first subtitle.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment