summary refs log tree commit diff
path: root/pkgs/development/compilers/go/1.9.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-01-26 03:49:24 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-01-26 03:49:24 +0200
commit8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1 (patch)
tree04f22834569159095ac3c1142f1b3b74c5552de6 /pkgs/development/compilers/go/1.9.nix
parent0f5f904cdd7dd9b3b5b99517643e05a83b89a95f (diff)
downloadnixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar.gz
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar.bz2
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar.lz
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar.xz
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.tar.zst
nixlib-8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1.zip
go: Scale up test timeouts
I can't reproduce the problem on an idle machine where it finishes in
112.954s, so let's hope this works.

https://hydra.nixos.org/build/68236758
Diffstat (limited to 'pkgs/development/compilers/go/1.9.nix')
-rw-r--r--pkgs/development/compilers/go/1.9.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/go/1.9.nix b/pkgs/development/compilers/go/1.9.nix
index 1b6250ee8808..b226cd7a7ebc 100644
--- a/pkgs/development/compilers/go/1.9.nix
+++ b/pkgs/development/compilers/go/1.9.nix
@@ -139,6 +139,8 @@ stdenv.mkDerivation rec {
   GO386 = 387; # from Arch: don't assume sse2 on i686
   CGO_ENABLED = 1;
   GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
+  # Hopefully avoids test timeouts on Hydra
+  GO_TEST_TIMEOUT_SCALE = 3;
 
   # The go build actually checks for CC=*/clang and does something different, so we don't
   # just want the generic `cc` here.