Skip to content

Commit

Permalink
fix: increase subscribe sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Jan 9, 2024
1 parent f47c40e commit 86ed2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub async fn topic_subscribe(

// Sleep after subscribing to a topic to give relay time to process the subscription
// This shouldn't be required, but seems to be a race condition currently
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
tokio::time::sleep(std::time::Duration::from_secs(5)).await;

Ok(())
}

0 comments on commit 86ed2b2

Please sign in to comment.