From aacaada73b63036b7adda993b5239e56214dc867 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 13 Aug 2024 14:37:08 -0300 Subject: queue.scm: Render Go's timeout innefective by making it too large --- src/org/euandre/queue.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm index 1c7149d..996e697 100644 --- a/src/org/euandre/queue.scm +++ b/src/org/euandre/queue.scm @@ -1722,13 +1722,13 @@ connections correctly."))) ;; Not all of us work with fancy modern computers that have have ;; too much memory and computing power for programmers to waste. ;; Therefore, Go's default timeout of 10 minutes (!!) to run all - ;; tests isn't enough, so we disable it and instead inherit the - ;; timeout from Guix itself. How not to like software that adheres - ;; so well to the Unix philosophy? + ;; tests isn't enough, so we disable it with an huge value and + ;; instead inherit the effective timeout from Guix itself. How not + ;; to like software that adheres so well to the Unix philosophy? (add-before 'build 'tolerate-slow-tests (lambda _ (let ((name "GO_TEST_TIMEOUT_SCALE") - (value "0")) + (value "1000")) (setenv name value) (format #t #$setenvfmt name value)))) (add-after 'install 'install-binaries @@ -1740,7 +1740,6 @@ connections correctly."))) - (list go-full pax-utils -- cgit v1.2.3