diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-08-29 14:16:13 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-03 12:34:13 +0200 |
| commit | 1c235670d8d6b6b50c5d08cc29d7c52a0ea3bd8d (patch) | |
| tree | ea3b6d5e4c887b1c1a1e32b7fe334eec6d53aecb | |
| parent | 128f07cd011d37cd63b2650ffe798ff83f3d1803 (diff) | |
tests: Reduce build timeout to 3 minutes for Scheme tests.
* guix/tests.scm (open-connection-for-tests): Reduce #:timeout to 3mn.
(call-with-external-store): Likewise.
Change-Id: I4375e070618a5f38a82a1d26f8424bf4abb607e6
| -rw-r--r-- | guix/tests.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guix/tests.scm b/guix/tests.scm index 5a314eb395f..ba8fa2ff304 100644 --- a/guix/tests.scm +++ b/guix/tests.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013-2022, 2025 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -86,11 +86,11 @@ #f)) (let ((store (open-connection uri))) ;; Make sure we build everything by ourselves. When we build something, - ;; it should take at most 10 minutes. + ;; it should take at most 3 minutes. (set-build-options store #:use-substitutes? #f #:substitute-urls (%test-substitute-urls) - #:timeout (* 10 60)) + #:timeout (* 3 60)) ;; Use the bootstrap Guile when running tests, so we don't end up ;; building everything in the temporary test store. @@ -151,7 +151,7 @@ no external store to talk to." (lambda () (when store ;; Make sure we don't end up rebuilding the world for those tests. - (set-build-options store #:timeout (* 10 60))) + (set-build-options store #:timeout (* 3 60))) (proc store)) (lambda () (when store-variable |
