From 8f0508ebc1f3a872ca8accfb26f10ebd49a0d4a1 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 26 Jan 2018 03:49:24 +0200 Subject: [PATCH] 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 --- pkgs/development/compilers/go/1.9.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/go/1.9.nix b/pkgs/development/compilers/go/1.9.nix index 1b6250ee880..b226cd7a7eb 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.