Skip to content

Commit

Permalink
Unit test de-flake
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Oct 30, 2024
1 parent 507e6ab commit 4ff08c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/OSCKitCoreTests/OSCTimeTag/OSCTimeTag Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import OSCKitCore
import Testing

@Suite struct OSCTimeTag_Tests {
#if os(macOS) || os(iOS)
// De-flake mitigation: allow more time variance for CI pipeline
#if os(macOS)
let tolerance: TimeInterval = 0.001
#elseif os(tvOS) || os(watchOS)
// allow more time variance for CI pipeline to de-flake
#elseif targetEnvironment(macCatalyst) || os(iOS) || os(tvOS) || os(watchOS)
let tolerance: TimeInterval = 0.01
#endif

Expand Down

0 comments on commit 4ff08c1

Please sign in to comment.