Skip to content

Commit

Permalink
tests(iroh-net): Give this a longer timeout (#2857)
Browse files Browse the repository at this point in the history
## Description

On windows this sometimes times out.  But the timeout was only 5
seconds and we know our windows CI runners are slow usually.  5s
really isn't enough.  If this timeout still occurs with a 30s timeout
maybe we can do some more debugging, but it is rather likely just a
slow machine.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
  • Loading branch information
flub authored Oct 29, 2024
1 parent 6c6827d commit ed13453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh-net/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ mod tests {
);

let (server, client) = tokio::time::timeout(
Duration::from_secs(5),
Duration::from_secs(30),
futures_lite::future::zip(server, client),
)
.await
Expand Down

0 comments on commit ed13453

Please sign in to comment.