Skip to content

Commit

Permalink
fix comment in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Apr 3, 2024
1 parent 124261c commit 6aa079b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhttp/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ func TestPayloadWithEchoBack(t *testing.T) {
// Exercise the code for https://github.com/fortio/fortio/pull/914
func TestReadtimeout(t *testing.T) {
// in theory we'd also redirect the log output to check we do see "Timeout error (incomplete/invalid response)"
// but the logger has it's own tests
// but the logger has its own tests and the switch from not covered to covered shows it's working/exercised by this test.
m, a := DynamicHTTPServer(false)
m.HandleFunc("/", EchoHandler)
url := fmt.Sprintf("http://localhost:%d/?delay=1s", a.Port)
Expand Down

0 comments on commit 6aa079b

Please sign in to comment.