Skip to content

Commit

Permalink
Reduce time sensitivity for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Jun 3, 2023
1 parent 02ea598 commit 9bdd317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Equinox.Core.Tests/CachingTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ type Tests() =
let [<Fact>] ``readThrough handles concurrent incompatible loads correctly`` () = task {
cat.Delay <- TimeSpan.FromMilliseconds 50
let t1 = loadReadThrough 1
do! Task.Delay 10
do! Task.Delay 5
test <@ (1, 0) = (cat.Loads, cat.Reloads) @>
let! struct (_token, state) = loadReadThrough 9
let! struct (_token, state) = loadReadThrough 4
test <@ (2, 2, 0) = (state, cat.Loads, cat.Reloads) @>
let! struct (_token, state) = t1
test <@ (1, 2, 0) = (state, cat.Loads, cat.Reloads) @> }
Expand Down

0 comments on commit 9bdd317

Please sign in to comment.