mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01: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
db0564c88c
commit
cc3f0e51cd
1 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue