aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs/tests
diff options
context:
space:
mode:
authorFelix S. Klock II <[email protected]>2019-02-15 12:26:19 +0000
committerFelix S. Klock II <[email protected]>2019-02-15 12:26:19 +0000
commitcc15d3613c64c8881ea8aa81f5b9f6f1d89fb64d (patch)
treef76e531acbfa048f9ca61eb490799d3250e3111a /crates/ra_vfs/tests
parentda04eb3770eb14dadb6a2904269fe1ea0aef987f (diff)
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)
Diffstat (limited to 'crates/ra_vfs/tests')
-rw-r--r--crates/ra_vfs/tests/vfs.rs2
1 files changed, 1 insertions, 1 deletions
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<()> {
83 } 83 }
84 84
85 // rust-analyzer#734: fsevents has a bunch of events still sitting around. 85 // rust-analyzer#734: fsevents has a bunch of events still sitting around.
86 process_tasks_in_range(&mut vfs, 0, 7); 86 process_tasks_in_range(&mut vfs, 0, if cfg!(target_os = "macos") { 7 } else { 0 });
87 match vfs.commit_changes().as_slice() { 87 match vfs.commit_changes().as_slice() {
88 [] => {} 88 [] => {}
89 89