gnu: go-github-com-quic-go-quic-go: Adjust tests.

Tests fail in CI as seen in
<https://ci.guix.gnu.org/build/7688366/log/raw>.

* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go) [phases]
{check}: Adjust gingo options as tests fail in CI but passed when tested
locally on 16 threads machine. Remove randomization, add logic to set
"--proc" option.

Change-Id: I25be422622cbab20f2eeb7c8200e20ab9491cf44
This commit is contained in:
Sharlatan Hellseher 2025-01-12 11:24:05 +00:00
parent db0564c88c
commit cc3f0e51cd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7035,11 +7035,16 @@ (define-public go-github-com-quic-go-quic-go
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "ginkgo" "-r" "-v"
(setenv "TIMESCALE_FACTOR" "10")
(invoke "ginkgo" "-r" "-v" "--no-color"
(string-append
"--procs=" (number->string (parallel-job-count)))
"--randomize-all"
"--randomize-suites"
"--procs=" (number->string
;; All tests passed on 16 threads
;; mathine, but fail on
;; ci.guix.gnu.org.
(if (> (parallel-job-count) 17)
16
(parallel-job-count))))
"--skip-package=integrationtests"))))))))
(native-inputs
(list go-ginkgo