Skip to content

Commit

Permalink
MF-171: Increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyicker committed Aug 30, 2024
1 parent 29c37ec commit c703ebf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(2.seconds)
Expand Down Expand Up @@ -264,7 +264,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(2.seconds)
Expand Down Expand Up @@ -318,7 +318,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(3.seconds)
Expand Down Expand Up @@ -372,7 +372,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(2.seconds)
Expand Down Expand Up @@ -428,7 +428,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(3.seconds)
Expand Down Expand Up @@ -485,7 +485,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(2.seconds)
Expand Down Expand Up @@ -569,7 +569,7 @@ internal class SingleMediaProductPlayLogTest {
player.playbackEngine.load(mediaProduct)
player.playbackEngine.play()
withContext(Dispatchers.Default.limitedParallelism(1)) {
withTimeout(4.seconds) {
withTimeout(8.seconds) {
player.playbackEngine.events.filter { it is Event.MediaProductTransition }.first()
}
delay(2.seconds)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ internal class TwoMediaProductsPlayLogTest {
while (player.playbackEngine.assetPosition < 4) {
delay(10.milliseconds)
}
withTimeout(4.seconds) {
withTimeout(8.seconds) {
val waitJob = async {
player.playbackEngine.events
.filter { it is Event.MediaProductTransition }
Expand Down

0 comments on commit c703ebf

Please sign in to comment.