Skip to content

Commit

Permalink
Clarify test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Aug 29, 2024
1 parent 39c5b4c commit 80ce5c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ fn header_name_too_long() {
}

#[tokio::test]
async fn header_read_timeout_slow_writes() {
async fn http1_header_read_timeout_slow_writes() {
let (listener, addr) = setup_tcp_listener();

thread::spawn(move || {
Expand Down Expand Up @@ -1531,7 +1531,7 @@ async fn header_read_timeout_slow_writes() {
}

#[tokio::test]
async fn header_read_timeout_starts_immediately() {
async fn http1_header_read_timeout_starts_immediately() {
let (listener, addr) = setup_tcp_listener();

thread::spawn(move || {
Expand All @@ -1552,7 +1552,7 @@ async fn header_read_timeout_starts_immediately() {
}

#[tokio::test]
async fn header_read_timeout_slow_writes_multiple_requests() {
async fn http1_header_read_timeout_slow_writes_multiple_requests() {
let (listener, addr) = setup_tcp_listener();

thread::spawn(move || {
Expand Down Expand Up @@ -1639,7 +1639,7 @@ async fn header_read_timeout_slow_writes_multiple_requests() {
}

#[tokio::test]
async fn no_idle_timeout_multiple_requests() {
async fn http1_no_idle_timeout_multiple_requests() {
let (listener, addr) = setup_tcp_listener();

let done = Arc::new(AtomicBool::new(false));
Expand Down Expand Up @@ -1683,7 +1683,7 @@ async fn no_idle_timeout_multiple_requests() {
}

#[tokio::test]
async fn idle_timeout_multiple_intermittent_requests() {
async fn http1_idle_timeout_multiple_intermittent_requests() {
let (listener, addr) = setup_tcp_listener();

let done = Arc::new(AtomicBool::new(false));
Expand Down

0 comments on commit 80ce5c3

Please sign in to comment.