From 790d7b655b3137adbc0fd7f6a88f3ff5c3d6734c Mon Sep 17 00:00:00 2001 From: dcvz Date: Thu, 11 Apr 2024 18:30:28 +0200 Subject: [PATCH] chore(ci): increase timeout limit for CI --- Tests/SwiftAudioExTests/QueuedAudioPlayerTests.swift | 1 - Tests/SwiftAudioExTests/Utils/Helpers.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 }