Skip to content

Commit

Permalink
Missed one delay
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunicorn committed Jul 2, 2024
1 parent 63a5f06 commit 6d6f2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk/src/http_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ mod tests {
});

// give it some time to issue the requests
tokio::time::sleep(Duration::from_secs(3)).await;
tokio::time::sleep(Duration::from_millis(300)).await;

assert_eq!(counter.load(Ordering::SeqCst), 254, "Not all requests passed through");
bg_task.abort();
Expand Down

0 comments on commit 6d6f2ca

Please sign in to comment.