summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r--gnu/packages/golang-web.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e82cc9cf15..e64aa9f27d 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7035,11 +7035,16 @@ the Go standard library}.")
(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