From 6245d4245c373092e677d833c3741fcbfc244240 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 25 Feb 2024 14:34:24 +0100 Subject: [PATCH] more dealing with macOS being slow --- tests/pass/shims/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pass/shims/time.rs b/tests/pass/shims/time.rs index 23b5ab57ef..226f04ade0 100644 --- a/tests/pass/shims/time.rs +++ b/tests/pass/shims/time.rs @@ -5,7 +5,7 @@ use std::time::{Duration, Instant, SystemTime}; fn duration_sanity(diff: Duration) { // On my laptop, I observed times around 15-40ms. Add 10x lee-way both ways. assert!(diff.as_millis() > 1); - assert!(diff.as_millis() < 500); + assert!(diff.as_millis() < 1000); // macOS is very slow sometimes } fn test_sleep() {