mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
c710002f1c
commit
00b0610044
1 changed files with 9 additions and 4 deletions
|
@ -7035,11 +7035,16 @@ the Go standard library}.")
|
||||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
(invoke "ginkgo" "-r" "-v"
|
(setenv "TIMESCALE_FACTOR" "10")
|
||||||
|
(invoke "ginkgo" "-r" "-v" "--no-color"
|
||||||
(string-append
|
(string-append
|
||||||
"--procs=" (number->string (parallel-job-count)))
|
"--procs=" (number->string
|
||||||
"--randomize-all"
|
;; All tests passed on 16 threads
|
||||||
"--randomize-suites"
|
;; mathine, but fail on
|
||||||
|
;; ci.guix.gnu.org.
|
||||||
|
(if (> (parallel-job-count) 17)
|
||||||
|
16
|
||||||
|
(parallel-job-count))))
|
||||||
"--skip-package=integrationtests"))))))))
|
"--skip-package=integrationtests"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-ginkgo
|
(list go-ginkgo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue