From 6ff3d49a5cd2b09ee8c8b5a8b6d6fed827519a98 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 30 Dec 2023 16:54:47 +0900 Subject: [PATCH] chore: attempt to fix subscribe race condition --- tests/integration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration.rs b/tests/integration.rs index ec7b99f3..3bfb6a29 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -3368,6 +3368,7 @@ async fn update_subscription(notify_server: &NotifyServerContext) { .subscribe(topic_from_key(¬ify_key)) .await .unwrap(); + tokio::time::sleep(std::time::Duration::from_secs(1)).await; // Update to 0 types let notification_types = HashSet::from([]);