From cc15d3613c64c8881ea8aa81f5b9f6f1d89fb64d Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Fri, 15 Feb 2019 13:26:19 +0100 Subject: Dont slow down everyone else's testing (especially the CI's Linux) just for OS X. Namely, the allowance for up to 7 events, and thus requiring anyone with fewer than 7 events to wait for the 3 second timeout, is only relevant to fsevents (i.e. Mac OS X) --- crates/ra_vfs/tests/vfs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_vfs/tests') diff --git a/crates/ra_vfs/tests/vfs.rs b/crates/ra_vfs/tests/vfs.rs index 2ae7bb40b..200a03e54 100644 --- a/crates/ra_vfs/tests/vfs.rs +++ b/crates/ra_vfs/tests/vfs.rs @@ -83,7 +83,7 @@ fn test_vfs_works() -> std::io::Result<()> { } // rust-analyzer#734: fsevents has a bunch of events still sitting around. - process_tasks_in_range(&mut vfs, 0, 7); + process_tasks_in_range(&mut vfs, 0, if cfg!(target_os = "macos") { 7 } else { 0 }); match vfs.commit_changes().as_slice() { [] => {} -- cgit v1.2.3