diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2022-05-01 12:53:53 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-05-01 12:53:53 +0200 |
commit | 7b9ee58925406f5d608fca06db5479e16970dc91 (patch) | |
tree | 8746cedcbfdef7ac9af101cce49031d96335a748 /gnu/tests/web.scm | |
parent | b47aae7f85277ac828dcb1713d01a579d2400a17 (diff) |
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>
Diffstat (limited to 'gnu/tests/web.scm')
-rw-r--r-- | gnu/tests/web.scm | 6 |
1 files changed, 1 insertions, 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 |