Skip to content

Commit

Permalink
Disable ealy stopping test on watchos
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Dec 20, 2024
1 parent 024049c commit 1d3b1f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/WhisperKitTests/UnitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,7 @@ final class UnitTests: XCTestCase {
await fulfillment(of: [modelStateExpectation, segmentDiscoveryExpectation, transcriptionStateExpectation], timeout: 1)
}

#if !os(watchOS) // FIXME: watchOS ignores the priority here for some reason
func testCallbackWithEarlyStopping() async throws {
let callbackTestTask = Task(priority: .userInitiated) {
let computeOptions = ModelComputeOptions(
Expand Down Expand Up @@ -1319,6 +1320,7 @@ final class UnitTests: XCTestCase {

try await callbackTestTask.value
}
#endif

// MARK: - Utils Tests

Expand Down

0 comments on commit 1d3b1f4

Please sign in to comment.