Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e95e2e0f
authored
Dec 16, 2020
by
tonihei
Committed by
Christos Tsilopoulos
Dec 17, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Disable flaky tests.
PiperOrigin-RevId: 347807539
parent
db12fae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java
library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java
View file @
e95e2e0f
...
...
@@ -123,6 +123,7 @@ import java.util.concurrent.atomic.AtomicLong;
import
java.util.concurrent.atomic.AtomicReference
;
import
java.util.stream.Collectors
;
import
org.junit.Before
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.mockito.ArgumentCaptor
;
...
...
@@ -7535,6 +7536,7 @@ public final class ExoPlayerTest {
.
isEqualTo
(
rendererStreamOffsetsUs
.
get
(
0
)
+
periodDurationUs
);
}
@Ignore
// See [internal: b/175773664]
@Test
public
void
mediaItemOfSources_correctInTimelineWindows
()
throws
Exception
{
SilenceMediaSource
.
Factory
factory
=
...
...
@@ -7747,6 +7749,7 @@ public final class ExoPlayerTest {
Player
.
MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED
);
}
@Ignore
// See [internal: b/175773664]
@Test
public
void
repeat_notifiesMediaItemTransition
()
throws
Exception
{
SilenceMediaSource
.
Factory
factory
=
...
...
@@ -8108,6 +8111,7 @@ public final class ExoPlayerTest {
assertThat
(
runUntilReceiveOffloadSchedulingEnabledNewState
(
player
)).
isFalse
();
}
@Ignore
// See [internal: b/170387438]
@Test
public
void
enableOffloadSchedulingWhileSleepingForOffload_isDisabled_isReported
()
throws
Exception
{
...
...
@@ -8124,6 +8128,8 @@ public final class ExoPlayerTest {
assertThat
(
runUntilReceiveOffloadSchedulingEnabledNewState
(
player
)).
isFalse
();
}
@Ignore
// See [internal: b/170387438]
@Test
public
void
enableOffloadScheduling_isEnable_playerSleeps
()
throws
Exception
{
FakeSleepRenderer
sleepRenderer
=
new
FakeSleepRenderer
(
C
.
TRACK_TYPE_AUDIO
);
...
...
@@ -8140,6 +8146,7 @@ public final class ExoPlayerTest {
assertThat
(
player
.
experimentalIsSleepingForOffload
()).
isTrue
();
}
@Ignore
// See [internal: b/170387438]
@Test
public
void
experimentalEnableOffloadSchedulingWhileSleepingForOffload_isDisabled_renderingResumes
()
...
...
@@ -8160,6 +8167,7 @@ public final class ExoPlayerTest {
runUntilPlaybackState
(
player
,
Player
.
STATE_ENDED
);
}
@Ignore
// See [internal: b/170387438]
@Test
public
void
wakeupListenerWhileSleepingForOffload_isWokenUp_renderingResumes
()
throws
Exception
{
FakeSleepRenderer
sleepRenderer
=
new
FakeSleepRenderer
(
C
.
TRACK_TYPE_AUDIO
).
sleepOnNextRender
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment