From b359ac6cb2d65decb621e0f856898e836bd95f64 Mon Sep 17 00:00:00 2001 From: Dakota Brink Date: Thu, 12 Dec 2024 12:42:55 -0500 Subject: [PATCH] cleanup --- .../src/groups/device_sync/message_sync.rs | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/xmtp_mls/src/groups/device_sync/message_sync.rs b/xmtp_mls/src/groups/device_sync/message_sync.rs index 4ebc44f67..49b8e86e1 100644 --- a/xmtp_mls/src/groups/device_sync/message_sync.rs +++ b/xmtp_mls/src/groups/device_sync/message_sync.rs @@ -209,34 +209,6 @@ pub(crate) mod tests { assert_ne!(old_group_id, new_group_id); } - #[wasm_bindgen_test(unsupported = tokio::test(flavor = "multi_thread", worker_threads = 1))] - async fn disconnect_does_not_effect_init() { - let wallet = generate_local_wallet(); - let amal_a = ClientBuilder::new_test_client_with_history(&wallet, HISTORY_SYNC_URL).await; - - let amal_a_provider = amal_a.mls_provider().unwrap(); - let amal_a_conn = amal_a_provider.conn_ref(); - - //release db conn right after creating client, not giving the worker time to do initial - //sync - amal_a.release_db_connection().unwrap(); - - let sync_group = amal_a.get_sync_group(amal_a_conn); - assert_err!(sync_group, GroupError::GroupNotFound); - - amal_a.reconnect_db().unwrap(); - - // make sure amal's worker has time to sync - // 3 Intents: - // 1.) Sync Group Creation - // 2.) Device Sync Request - // 3.) MessageHistory Sync Request - wait_for_min_intents(amal_a_conn, 3).await; - tracing::info!("Waiting for intents published"); - let sync_group = amal_a.get_sync_group(amal_a_conn); - assert!(sync_group.is_ok()); - } - #[wasm_bindgen_test(unsupported = tokio::test(flavor = "multi_thread", worker_threads = 1))] async fn test_prepare_groups_to_sync() { let wallet = generate_local_wallet();