Skip to content

Commit

Permalink
Fix pool::test::should_reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed Apr 20, 2023
1 parent 48608a1 commit 485c7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conn/pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ mod test {
.collect::<Vec<_>>();

// give some time to reset connections
sleep(Duration::from_millis(500)).await;
sleep(Duration::from_millis(1000)).await;

// get_conn should work if connection is available and alive
pool.get_conn().await?;
Expand Down

0 comments on commit 485c7b7

Please sign in to comment.