Skip to content

Commit

Permalink
chore(ci): increase timeout limit for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Apr 11, 2024
1 parent ba12380 commit 790d7b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion Tests/SwiftAudioExTests/Utils/Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import XCTest
extension XCTestCase {
var defaultTimeout: TimeInterval {
if ProcessInfo.processInfo.environment["CI"] != nil {
return 10
return 20
} else {
return 5
}
Expand Down

0 comments on commit 790d7b6

Please sign in to comment.