From 1d3b1f41749e69144925094c0a1f1d77e1ee0390 Mon Sep 17 00:00:00 2001 From: ZachNagengast Date: Fri, 20 Dec 2024 14:53:51 -0800 Subject: [PATCH] Disable ealy stopping test on watchos --- Tests/WhisperKitTests/UnitTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/WhisperKitTests/UnitTests.swift b/Tests/WhisperKitTests/UnitTests.swift index 441683d..0fd780b 100644 --- a/Tests/WhisperKitTests/UnitTests.swift +++ b/Tests/WhisperKitTests/UnitTests.swift @@ -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( @@ -1319,6 +1320,7 @@ final class UnitTests: XCTestCase { try await callbackTestTask.value } + #endif // MARK: - Utils Tests