From 9e11e4ba64a209f3bc5009444878a60bc6849762 Mon Sep 17 00:00:00 2001 From: volth Date: Sun, 1 Apr 2018 20:39:12 +0000 Subject: [PATCH] go_1_{9,10}: disable TestVariousDeadlines test --- pkgs/development/compilers/go/1.10.nix | 2 ++ pkgs/development/compilers/go/1.9.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/compilers/go/1.10.nix b/pkgs/development/compilers/go/1.10.nix index d99d82277bc7..b0fdd0c88bf7 100644 --- a/pkgs/development/compilers/go/1.10.nix +++ b/pkgs/development/compilers/go/1.10.nix @@ -79,6 +79,8 @@ stdenv.mkDerivation rec { sed -i '/TestEnvVars/areturn' src/crypto/x509/root_unix_test.go # TestWritevError hangs sometimes sed -i '/TestWritevError/areturn' src/net/writev_test.go + # TestVariousDeadlines fails sometimes + sed -i '/TestVariousDeadlines/areturn' src/net/timeout_test.go sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go diff --git a/pkgs/development/compilers/go/1.9.nix b/pkgs/development/compilers/go/1.9.nix index 4db67c927386..1fa38b99747e 100644 --- a/pkgs/development/compilers/go/1.9.nix +++ b/pkgs/development/compilers/go/1.9.nix @@ -79,6 +79,8 @@ stdenv.mkDerivation rec { sed -i '/TestEnvVars/areturn' src/crypto/x509/root_unix_test.go # TestWritevError hangs sometimes sed -i '/TestWritevError/areturn' src/net/writev_test.go + # TestVariousDeadlines fails sometimes + sed -i '/TestVariousDeadlines/areturn' src/net/timeout_test.go sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go