Subject: Re: [bug#56563] [PATCH v2] gnu: tests: Fix guix-data-service test.
From: Christopher Baines <[email-masked]>
To: Timotej Lazar <[email-masked]>
Cc: [email-masked]
Date: Fri, 15 Jul 2022 10:06:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Timotej Lazar <[email-masked]> writes:

> Since revision 32, guix-data-service starts immediately but returns an HTTP
> error code until initialization is complete. Adjust the test accordingly, and
> remove the increased startup time limit.
>
> * gnu/services/guix.scm (guix-data-service): Use default #:pid-file-timeout.
> * gnu/tests/guix.scm (guix-data-service): Retry the http-get test several
> times to give the service time to initialize.
> ---
>  gnu/services/guix.scm |  2 --
>  gnu/tests/guix.scm    | 19 +++++++++++++------
>  2 files changed, 13 insertions(+), 8 deletions(-)
>

Thanks Timotej, I've pushed this as
a15b769c2f81034884ef0ae7fa8c1cea8df45c56.

I've also updated the data service so that it responds with a 503 for
the healthcheck when starting up, rather than a 500, as that's a bit
nicer.

Chris