[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: tests: Fix tailon test.
From: |
guix-commits |
Subject: |
03/03: tests: Fix tailon test. |
Date: |
Sun, 1 May 2022 06:56:40 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 7b9ee58925406f5d608fca06db5479e16970dc91
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun May 1 12:53:53 2022 +0200
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 <othacehe@gnu.org>
---
gnu/tests/web.scm | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
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