Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Get vector store test passing - wait for indexing
Max Brunsfeldd244c0fcea07
diff --git a/crates/vector_store/src/vector_store_tests.rs b/crates/vector_store/src/vector_store_tests.rsindex ede43b9ff8b..8c5a667c7de 100644--- a/crates/vector_store/src/vector_store_tests.rs+++ b/crates/vector_store/src/vector_store_tests.rs@@ -81,9 +81,11 @@ async fn test_vector_store(cx: &mut TestAppContext) {let worktree_id = project.read_with(cx, |project, cx| {project.worktrees(cx).next().unwrap().read(cx).id()});- let add_project = store.update(cx, |store, cx| store.add_project(project.clone(), cx));-- add_project.await.unwrap();+ store+ .update(cx, |store, cx| store.add_project(project.clone(), cx))+ .await+ .unwrap();+ cx.foreground().run_until_parked();let search_results = store.update(cx, |store, cx| {