Skip to content

Commit

Permalink
chore: attempt to fix subscribe race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Dec 30, 2023
1 parent c555677 commit 6ff3d49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3368,6 +3368,7 @@ async fn update_subscription(notify_server: &NotifyServerContext) {
.subscribe(topic_from_key(&notify_key))
.await
.unwrap();
tokio::time::sleep(std::time::Duration::from_secs(1)).await;

// Update to 0 types
let notification_types = HashSet::from([]);
Expand Down

0 comments on commit 6ff3d49

Please sign in to comment.