diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift index 1592cb2..929406d 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift @@ -50,12 +50,11 @@ final class ProgressTrackerProgressTests: TestCase { let progressTracker = ProgressTracker(interval: CMTime(value: 1, timescale: 4)) let item = PlayerItem.simple(url: Stream.shortOnDemand.url) let player = Player(item: item) - expectPublished( + expectAtLeastPublished( values: [0, 0.25, 0.5, 0.75, 1, 0], from: progressTracker.changePublisher(at: \.progress) .removeDuplicates(), - to: beClose(within: 0.2), - during: .seconds(2) + to: beClose(within: 0.1) ) { progressTracker.player = player player.play()