Skip to content

Commit

Permalink
Extend wait time for speech tests (#108)
Browse files Browse the repository at this point in the history
Give TTS voices time to download in the simulator in GitHub Actions.
  • Loading branch information
steinbro authored Sep 23, 2024
1 parent cefe2db commit 6237690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/ios/UnitTests/Audio/AudioEngineTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ final class AudioEngineTest: XCTestCase {
XCTAssertEqual(delegate.finish_count, 1)
expectation.fulfill()
}
XCTAssertEqual(XCTWaiter.wait(for: [expectation], timeout: 10), .completed)
XCTAssertEqual(XCTWaiter.wait(for: [expectation], timeout: 30), .completed)
XCTAssertEqual(delegate.finish_count, 1)
XCTAssertFalse(eng.isDiscreteAudioPlaying)
}
Expand Down Expand Up @@ -93,7 +93,7 @@ final class AudioEngineTest: XCTestCase {
expectations[2].fulfill()
}

XCTAssertEqual(XCTWaiter.wait(for: expectations, timeout: 10, enforceOrder: true), .completed)
XCTAssertEqual(XCTWaiter.wait(for: expectations, timeout: 30, enforceOrder: true), .completed)
XCTAssertEqual(delegate.finish_count, 3)
XCTAssertFalse(eng.isDiscreteAudioPlaying)
}
Expand Down

0 comments on commit 6237690

Please sign in to comment.