guix: tests: Increase timeout for test store connection.

THe gexp->derivation, store copy test involves building derivations which
compile a bunch of Guile code, which can be quite slow on slow platforms like
riscv64-linux.

* guix/tests.scm (open-connection-for-tests): Increase #:timeout to 10
minutes.

Change-Id: Iccfd976ce21a8902d776b36f17f5fb91b957d90d
This commit is contained in:
Christopher Baines 2024-07-30 11:13:01 +01:00
parent f4aec15f47
commit b4206a08ba
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -86,11 +86,11 @@ (define* (open-connection-for-tests #:optional (uri (%daemon-socket-uri)))
#f))
(let ((store (open-connection uri)))
;; Make sure we build everything by ourselves. When we build something,
;; it should take at most 5 minutes.
;; it should take at most 10 minutes.
(set-build-options store
#:use-substitutes? #f
#:substitute-urls (%test-substitute-urls)
#:timeout (* 5 60))
#:timeout (* 10 60))
;; Use the bootstrap Guile when running tests, so we don't end up
;; building everything in the temporary test store.