From df53d91d54fce0bba04ec0b20d7eed745698a6a1 Mon Sep 17 00:00:00 2001 From: Andrew Plaza Date: Wed, 3 Jul 2024 16:36:56 -0400 Subject: [PATCH] experiment --- bindings_ffi/src/mls.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bindings_ffi/src/mls.rs b/bindings_ffi/src/mls.rs index 945591853..05fbe32e9 100644 --- a/bindings_ffi/src/mls.rs +++ b/bindings_ffi/src/mls.rs @@ -1936,13 +1936,12 @@ mod tests { stream_closer.wait_for_ready().await; group.send("hello".as_bytes().to_vec()).await.unwrap(); - println!("WAITING FOR HELLO"); - // stream_callback.wait_for_delivery().await; + stream_callback.wait_for_delivery().await; + group.send("goodbye".as_bytes().to_vec()).await.unwrap(); - println!("WAITING GOODBYE"); - // stream_callback.wait_for_delivery().await; + stream_callback.wait_for_delivery().await; - assert_eq!(stream_callback.message_count(), 2); + assert_eq!(stream_callback.message_count(), 5); println!("WAITING FOR STREAM TO END"); stream_closer.end_and_wait().await.unwrap(); }