Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle
golang/go#19608 https://hydra.nixos.org/build/64329767/nixlog/1 https://hydra.nixos.org/build/64244716/nixlog/1 Remove the patch for golang/go#21559 because it is skipped as flaky since Go 1.9.2.
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 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
12 changes: 12 additions & 0 deletions
12
pkgs/development/compilers/go/go-1.9-skip-flaky-19608.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/net/http/serve_test.go b/src/net/http/serve_test.go | ||
index 7137599..43cca2e 100644 | ||
--- a/src/net/http/serve_test.go | ||
+++ b/src/net/http/serve_test.go | ||
@@ -5361,6 +5361,7 @@ func testServerKeepAlivesEnabled(t *testing.T, h2 bool) { | ||
// the server's doing its 1-byte background read between requests, | ||
// waiting for the connection to maybe close. | ||
func TestServerCancelsReadTimeoutWhenIdle(t *testing.T) { | ||
+ testenv.SkipFlaky(t, 19608) | ||
setParallel(t) | ||
defer afterTest(t) | ||
const timeout = 250 * time.Millisecond |