diff --git a/Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift b/Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift index e39171d..3cbd4cf 100644 --- a/Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift +++ b/Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift @@ -84,7 +84,6 @@ class QueuedAudioPlayerTests: XCTestCase { audioPlayer.load(item: Source.getAudioItem(), playWhenReady: true) XCTAssertNotEqual(audioPlayer.currentItem?.getSourceUrl(), FiveSecondSource.getAudioItem().getSourceUrl()) waitTrue(self.playerStateEventListener.statesWithoutBuffering.contains(.playing), timeout: defaultTimeout) - XCTAssertEqual(audioPlayer.playerState, AudioPlayerState.playing) } func testAddingMultipleItems() { diff --git a/Tests/SwiftAudioExTests/Utils/Helpers.swift b/Tests/SwiftAudioExTests/Utils/Helpers.swift index 2dba277..675ed45 100644 --- a/Tests/SwiftAudioExTests/Utils/Helpers.swift +++ b/Tests/SwiftAudioExTests/Utils/Helpers.swift @@ -6,7 +6,7 @@ import XCTest extension XCTestCase { var defaultTimeout: TimeInterval { if ProcessInfo.processInfo.environment["CI"] != nil { - return 10 + return 20 } else { return 5 }