forked from useflyent/fhttp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: remove arbitrary timeouts in server_test.go
If the test gets completely stuck at these points, we will want a goroutine dump in order to debug the hang, which log.Fatalf will not produce (but a test timeout will). If the test does not get completely stuck (as on a slow or overloaded builder), then we should let it continue to run until the overall test timeout, which (unlike hard-coded constants) should already take the speed of the builder into account. As a side-effect, this also moves some t.Fatalf calls out of background goroutines and into the main test-function goroutines where they belong (see golang/go#24678). Fixes golang/go#52051. Change-Id: I37504081e6fdf0b4c244305fc83c575e30b7b453 Reviewed-on: https://go-review.googlesource.com/c/net/+/410096 Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Damien Neil <[email protected]>
- Loading branch information
Showing
1 changed file
with
51 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters