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:
Mathieu Othacehe 2022-05-01 12:53:53 +02:00
parent b47aae7f85
commit 7b9ee58925
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -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