zed/crates
Nathan Sobo a1412166f0 Fix randomized test failures by waiting for client_b to be added to worktree_a
We perform an async fetch of client_b's user data on worktree_a, which ends up holding a handle that prevents worktree_a from being released later in the test. By waiting for this fetch to finish before proceeding, we can be sure worktree_a actually gets released.

A more comprehensive fix would be some way to ensure we actually perform a release if an entity is fully dropped outside of an update cycle, but this fixes the issue for now.

Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-11-29 16:48:09 -07:00
..
buffer Introduce a collections crate w/ deterministic hashmap, hashset in tests 2021-11-29 15:22:45 -08:00
chat_panel Introduce weak_handle methods on ModelContext and ViewContext 2021-11-29 14:13:22 -08:00
client Introduce weak_handle methods on ModelContext and ViewContext 2021-11-29 14:13:22 -08:00
clock Switch to a dense representation for clock::Global 2021-11-22 17:20:43 +01:00
collections Introduce a collections crate w/ deterministic hashmap, hashset in tests 2021-11-29 15:22:45 -08:00
contacts_panel Rename PeoplePanel to ContactsPanel 2021-11-26 11:13:05 -07:00
editor Introduce weak_handle methods on ModelContext and ViewContext 2021-11-29 14:13:22 -08:00
file_finder Introduce weak_handle methods on ModelContext and ViewContext 2021-11-29 14:13:22 -08:00
fsevent Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
fuzzy Rename worktree crate to project, pull in Project 2021-10-04 16:45:05 -07:00
go_to_line Allow overriding editor settings on a per-language basis 2021-11-29 09:39:13 +01:00
gpui Consolidate pending effects logic into MutableAppContext::update 2021-11-29 14:16:19 -08:00
gpui_macros Use the same test::run_test function for async gpui::tests 2021-10-05 18:04:22 +02:00
language Embed a plain text grammar and override settings for that too 2021-11-29 18:01:51 +01:00
lsp Invalidate active diagnostics when they are removed 2021-11-19 16:15:22 +01:00
project Introduce a new Grammar struct and allow it to be optional 2021-11-29 17:38:59 +01:00
project_panel Introduce weak_handle methods on ModelContext and ViewContext 2021-11-29 14:13:22 -08:00
rpc Introduce a TestClient and associate it with a PeerId 2021-11-27 12:33:25 -07:00
server Fix randomized test failures by waiting for client_b to be added to worktree_a 2021-11-29 16:48:09 -07:00
sum_tree WIP: Probably the wrong direction 2021-11-10 17:44:56 -07:00
theme Associate collaborator avatars with "ribbons" corresponding to their cursor color 2021-11-28 13:25:05 -07:00
theme_selector Allow overriding editor settings on a per-language basis 2021-11-29 09:39:13 +01:00
util Improve logging when avatar request fails 2021-10-04 15:47:18 -07:00
workspace Make settings fields that can be overridden private 2021-11-29 17:08:43 +01:00
zed Fix test assertions 2021-11-29 18:15:03 +01:00