Run until parked before asserting about participants in restart test

This commit is contained in:
Antonio Scandurra 2022-12-13 13:53:51 +01:00
parent 4dc838fbb7
commit 70aac75dd5

View file

@ -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),