Skip to content

Commit

Permalink
Change timeout setting
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Oct 7, 2023
1 parent 98adec2 commit c2590b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func TestApiTestAddsTimedOutContextToRequest(t *testing.T) {
handler.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {
if runtime.GOOS == "windows" {
// TODO: In Windows environments only, timeouts do not occur.
time.Sleep(time.Nanosecond * 30)
time.Sleep(time.Nanosecond * 100)
} else {
time.Sleep(time.Nanosecond * 10)
}
Expand Down

0 comments on commit c2590b7

Please sign in to comment.