summaryrefslogtreecommitdiff
path: root/gnu/tests/monitoring.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/monitoring.scm')
-rw-r--r--gnu/tests/monitoring.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/tests/monitoring.scm b/gnu/tests/monitoring.scm
index 8630f5818c..5039e22765 100644
--- a/gnu/tests/monitoring.scm
+++ b/gnu/tests/monitoring.scm
@@ -66,6 +66,7 @@
(mkdir #$output)
(chdir #$output)
+ (test-runner-current (system-test-runner))
(test-begin #$name)
(test-assert "prometheus-node-exporter running"
@@ -87,8 +88,7 @@
(http-get "http://localhost:8080")))
(response-code response))))
- (test-end)
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation (string-append name "-test") test))
@@ -168,6 +168,7 @@ cat ~a | sudo -u zabbix psql zabbix;
(mkdir #$output)
(chdir #$output)
+ (test-runner-current (system-test-runner))
(test-begin #$name)
;; XXX: Shepherd reads the config file *before* binding its control
@@ -296,9 +297,7 @@ zabbix||{}
(test-url "/")
(test-url "/does-not-exist" 404))
- (test-end)
-
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation (string-append name "-test") test))