mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
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 <me@as-cii.com>
This commit is contained in:
parent
e54d6f62fb
commit
e585bc7199
1 changed files with 1 additions and 1 deletions
|
@ -2513,7 +2513,7 @@ mod tests {
|
||||||
assert_eq!(new_text, buffer.read_with(&cx, |buffer, _| buffer.text()));
|
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) {
|
async fn test_rescan_and_remote_updates(mut cx: gpui::TestAppContext) {
|
||||||
let dir = temp_tree(json!({
|
let dir = temp_tree(json!({
|
||||||
"a": {
|
"a": {
|
||||||
|
|
Loading…
Reference in a new issue