From a04e45e91b77ca7f990ff836ff41ba04c085d747 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:15:28 -0700 Subject: [PATCH] Make test reliable --- bindings_ffi/src/mls.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bindings_ffi/src/mls.rs b/bindings_ffi/src/mls.rs index f308119e9..f1dccdbb9 100644 --- a/bindings_ffi/src/mls.rs +++ b/bindings_ffi/src/mls.rs @@ -2386,6 +2386,11 @@ mod tests { .await .unwrap(); + alix_group.sync().await.unwrap(); + bo_group.sync().await.unwrap(); + bo2_group.sync().await.unwrap(); + caro_group.sync().await.unwrap(); + // Get the message count for all the clients let caro_messages = caro_group .find_messages(FfiListMessagesOptions::default()) @@ -2393,11 +2398,9 @@ mod tests { let alix_messages = alix_group .find_messages(FfiListMessagesOptions::default()) .unwrap(); - bo_group.sync().await.unwrap(); let bo_messages = bo_group .find_messages(FfiListMessagesOptions::default()) .unwrap(); - let bo2_messages = bo2_group .find_messages(FfiListMessagesOptions::default()) .unwrap();