Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix flaky `test_remote_resolve_path_in_buffer` test (#38903)

Cole Miller18fc951135f0
diff --git a/crates/remote_server/src/remote_editing_tests.rs b/crates/remote_server/src/remote_editing_tests.rs
index 1fbd967ff84..d127de0b6e4 100644
--- a/crates/remote_server/src/remote_editing_tests.rs
+++ b/crates/remote_server/src/remote_editing_tests.rs
@@ -849,6 +849,8 @@ async fn test_remote_resolve_path_in_buffer(
let worktree2_id = cx.update(|cx| worktree2.read(cx).id());
+ cx.run_until_parked();
+
let buffer2 = project
.update(cx, |project, cx| {
project.open_buffer((worktree2_id, rel_path("src/lib.rs")), cx)