From 7b9ee58925406f5d608fca06db5479e16970dc91 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 1 May 2022 12:53:53 +0200 Subject: tests: Fix tailon test. This is a follow-up of 73eeeeafbb0765f76834b53c9fe6cf3c8f740840. * gnu/tests/web.scm (run-tailon-test): Wait for the TCP port 8080 instead of relying on start-service. Signed-off-by: Mathieu Othacehe --- gnu/tests/web.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gnu/tests') diff --git a/gnu/tests/web.scm b/gnu/tests/web.scm index 4e8eceaa2b..7a585e618d 100644 --- a/gnu/tests/web.scm +++ b/gnu/tests/web.scm @@ -481,11 +481,7 @@ HTTP-PORT." (test-begin "tailon") (test-assert "service running" - (marionette-eval - '(begin - (use-modules (gnu services herd)) - (start-service 'tailon)) - marionette)) + (wait-for-tcp-port 8080 marionette)) (test-equal "http-get" 200 -- cgit 1.4.1