Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ mod tests {

tokio::join!(fut1, fut2);

// At this point, graceful shutdown must have occured, and the slow
// At this point, graceful shutdown must have occurred, and the slow
// request must have finished. Since there was no timeout, the elapsed
// time should be at least 500 ms (slow request duration).
assert!(start.elapsed() >= Duration::from_millis(500 + 100));
Expand Down Expand Up @@ -422,7 +422,7 @@ mod tests {
.unwrap()
.unwrap();

// At this point, graceful shutdown must have occured.
// At this point, graceful shutdown must have occurred.
assert!(start.elapsed() >= Duration::from_millis(222 + 333));
assert!(start.elapsed() <= Duration::from_millis(5_555));
};
Expand Down