From e585bc719923d943c016da2904bc5a3aea00da10 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 26 Jan 2022 09:25:06 -0700 Subject: [PATCH] Add retries to rescan test that uses the real file system We could potentially use a fake file system, but this should avoid flaky tests in the short run. Co-Authored-By: Antonio Scandurra --- crates/project/src/project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project/src/project.rs b/crates/project/src/project.rs index e94c78ed490d1a1fa88dc4e9e417e412b4709130..2a4f59a5f537af76d3e9c4644b550974a8d2924b 100644 --- a/crates/project/src/project.rs +++ b/crates/project/src/project.rs @@ -2513,7 +2513,7 @@ mod tests { assert_eq!(new_text, buffer.read_with(&cx, |buffer, _| buffer.text())); } - #[gpui::test] + #[gpui::test(retries = 5)] async fn test_rescan_and_remote_updates(mut cx: gpui::TestAppContext) { let dir = temp_tree(json!({ "a": {