Wait for project sharing to complete in LSP status integration test

Max Brunsfeld created

Change summary

crates/collab/src/integration_tests.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/collab/src/integration_tests.rs 🔗

@@ -3874,6 +3874,7 @@ async fn test_language_server_statuses(
         .update(cx_a, |call, cx| call.share_project(project_a.clone(), cx))
         .await
         .unwrap();
+    deterministic.run_until_parked();
     let project_b = client_b.build_remote_project(project_id, cx_b).await;
     project_b.read_with(cx_b, |project, _| {
         let status = project.language_server_statuses().next().unwrap();