mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-01 18:44:58 -05:00
test: decrease test timeout for keep alive (#523)
This commit is contained in:
@@ -737,7 +737,7 @@ mod tests {
|
||||
let local_addr = listener.local_addr().unwrap();
|
||||
|
||||
let fut = builder.with_client_stream(local_addr, move |mut client_stream| async move {
|
||||
let _ = tokio::time::timeout(Duration::from_secs(60), client_stream.next()).await;
|
||||
let _ = tokio::time::timeout(Duration::from_secs(25), client_stream.next()).await;
|
||||
client_stream.into_inner().disconnect(DisconnectReason::UselessPeer).await.unwrap();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user