From 70aac75dd51562a54df8ac0319f529f8ba8e0f04 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 13 Dec 2022 13:53:51 +0100 Subject: [PATCH] Run until parked before asserting about participants in restart test --- crates/collab/src/integration_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/collab/src/integration_tests.rs b/crates/collab/src/integration_tests.rs index 13f484910b..8150b1c0af 100644 --- a/crates/collab/src/integration_tests.rs +++ b/crates/collab/src/integration_tests.rs @@ -641,6 +641,7 @@ async fn test_server_restarts( .update(cx_d, |call, cx| call.accept_incoming(cx)) .await .unwrap(); + deterministic.run_until_parked(); let room_d = active_call_d.read_with(cx_d, |call, _| call.room().unwrap().clone()); assert_eq!( room_participants(&room_a, cx_a),