Skip to content

Commit e6a8846

Browse files
committed
Deactivate a basic multithreading check on mac runners for now
1 parent 16d4bf2 commit e6a8846

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/test-performance.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ models2 = ModelList(process1=ToySleepModel(), status=(a=vc,))
4343
@test med_time_mt > nrows * 1000000 / nthr
4444

4545
# Threads sleep/wakeup scheduling overhead causing inconsistencies ?
46-
# In any case, sometimes MT beats ST on CI runners
47-
@test abs(nthr * med_time_mt - med_time_seq) < 0.2 * med_time_seq
46+
# In any case, sometimes MT beats ST on CI runners, and the mac runner seems to return puzzling false positives
47+
# Deactivating it on mac for non
48+
if !Sys.isapple()
49+
@test abs(nthr * med_time_mt - med_time_seq) < 0.2 * med_time_seq
50+
end
4851

4952
# todo DataFrame equals
5053
@test status(models1) == status(models2)

0 commit comments

Comments
 (0)