Skip to content

Commit

Permalink
MainThreadMonitor: fixed flakiness in CI (#2517)
Browse files Browse the repository at this point in the history
Fixes
https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/11230/workflows/78444bf6-22b8-40fc-ad92-1f29279377d0/jobs/69663
This is meant to detect deadlocks. 1 second is unfortunately too low for
CI with limited resources.
  • Loading branch information
NachoSoto committed May 25, 2023
1 parent 5d03b26 commit 2b5edc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/BackendIntegrationTests/MainThreadMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class MainThreadMonitor {
}
}

private static let threshold: DispatchTimeInterval = .seconds(1)
private static let threshold: DispatchTimeInterval = .seconds(5)

}

Expand Down

0 comments on commit 2b5edc9

Please sign in to comment.