git.iko.soy/typeable/nixpkgs
on master help sign in
go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle

https://github.com/golang/go/issues/19608 https://hydra.nixos.org/build/64329767/nixlog/1 https://hydra.nixos.org/build/64244716/nixlog/1 Remove the patch for https://github.com/golang/go/issues/21559 because it is skipped as flaky since Go 1.9.2.

commit3ac474aee6ac977f67fa4ffd35da8af56df5fba8 authorOrivej Desh <orivej@gmx.fr> dateFri 17 Nov 2017, 05:24 (9 years ago) parent61090c8
2 files changed+13−5
pkgs/development/compilers/go/1.9.nix+1−5 pkgs/development/compilers/go/go-1.9-skip-flaky-19608.patch+12
pkgs/development/compilers/go/1.9.nix+1−5
@@ -118,11 +118,7 @@ stdenv.mkDerivation rec {
118118 ./ssl-cert-file-1.9.patch
119119 ./creds-test.patch
120120 ./remove-test-pie-1.9.patch
121−
122− (fetchpatch {
123− url = "https://github.com/golang/go/commit/29415eb2b92e78481897c4161ba99f5b09fa6102.patch";
124− sha256 = "01jkm4b2dazzjnfla7rdd0w2clzplga3zza6ybpmkjkk3i4bp73d";
125− })
121+ ./go-1.9-skip-flaky-19608.patch
126122 ];
127123
128124 postPatch = optionalString stdenv.isDarwin ''
pkgs/development/compilers/go/go-1.9-skip-flaky-19608.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/src/net/http/serve_test.go b/src/net/http/serve_test.go
2+index 7137599..43cca2e 100644
3+--- a/src/net/http/serve_test.go
4++++ b/src/net/http/serve_test.go
5+@@ -5361,6 +5361,7 @@ func testServerKeepAlivesEnabled(t *testing.T, h2 bool) {
6+ // the server's doing its 1-byte background read between requests,
7+ // waiting for the connection to maybe close.
8+ func TestServerCancelsReadTimeoutWhenIdle(t *testing.T) {
9++ testenv.SkipFlaky(t, 19608)
10+ setParallel(t)
11+ defer afterTest(t)
12+ const timeout = 250 * time.Millisecond