summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-26 15:11:03 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:23 +0000
commitc0b740c5ba7817b6dd231c1d506d8a91a34d13ea (patch)
treee823508635c35e30dbb23c6cf16040c367e7b20d
parente4c1411a64f6fec93c23cedc7996d2704ccb31d3 (diff)
gnu: nats-server: Fix tests.
* gnu/packages/high-availability.scm (nats-server) [arguments] <tests-flags>: Port tests options as seen in project's GitHub Actions workflow. <test-subdirs>: Likewise. Change-Id: I989163842c5c2bed672ddc021f0e0c572e352831
-rw-r--r--gnu/packages/high-availability.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 677b2b49ae..2799b5097d 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -215,6 +215,21 @@ applications.")
(sha256
(base32 "0r1d0l3mmb90956wl97vqlb3cdhax7jkqa95hvx9b380g93a08py"))))
(build-system go-build-system)
+ (arguments
+ (list
+ #:install-source? #f
+ #:import-path "github.com/nats-io/nats-server"
+ ;; The test logic is taken from project's GitHub Actions workflow file
+ ;; <.github/workflows/tests.yaml>.
+ #:test-flags
+ #~(list "-count=1" "-vet=off" "-failfast"
+ "-skip" (string-join
+ (list "TestHTTPHost"
+ "TestSysLogger"
+ "TestLogMaxArchives")
+ "|") )
+ #:test-subdirs
+ #~(list "conf/..." "internal/..." "logger/..." "test/...")))
(inputs
(list go-github-com-klauspost-compress
go-github-com-minio-highwayhash
@@ -226,10 +241,6 @@ applications.")
go-golang-org-x-crypto
go-golang-org-x-sys
go-golang-org-x-time))
- (arguments
- (list
- #:import-path "github.com/nats-io/nats-server"
- #:install-source? #f))
(home-page "https://github.com/nats-io/nats-server")
(synopsis "High performance message broker")
(description