Add retries to rescan test that uses the real file system
Nathan Sobo
and
Antonio Scandurra
created
We could potentially use a fake file system, but this should avoid flaky tests in the short run.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Change summary
crates/project/src/project.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -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": {