We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e729b commit 6a46a0bCopy full SHA for 6a46a0b
src/util/connection_pool.rs
@@ -613,7 +613,7 @@ mod tests {
613
fn test_options() -> Options {
614
Options {
615
idle_timeout: Duration::from_millis(100),
616
- connect_timeout: Duration::from_secs(2),
+ connect_timeout: Duration::from_secs(5),
617
max_connections: 32,
618
on_connected: None,
619
}
@@ -784,7 +784,7 @@ mod tests {
784
.await?;
785
let on_connected: OnConnected = Arc::new(|_, _| {
786
Box::pin(async {
787
- tokio::time::sleep(Duration::from_secs(2)).await;
+ tokio::time::sleep(Duration::from_secs(20)).await;
788
Ok(())
789
})
790
});
0 commit comments