mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
tests: Fix tailon test.
This is a follow-up of 73eeeeafbb
.
* 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>
This commit is contained in:
parent
b47aae7f85
commit
7b9ee58925
1 changed files with 1 additions and 5 deletions
|
@ -481,11 +481,7 @@ (define marionette
|
||||||
(test-begin "tailon")
|
(test-begin "tailon")
|
||||||
|
|
||||||
(test-assert "service running"
|
(test-assert "service running"
|
||||||
(marionette-eval
|
(wait-for-tcp-port 8080 marionette))
|
||||||
'(begin
|
|
||||||
(use-modules (gnu services herd))
|
|
||||||
(start-service 'tailon))
|
|
||||||
marionette))
|
|
||||||
|
|
||||||
(test-equal "http-get"
|
(test-equal "http-get"
|
||||||
200
|
200
|
||||||
|
|
Loading…
Reference in a new issue