qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC for 3.0] tests/tpm-emu: double the timeout


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [RFC for 3.0] tests/tpm-emu: double the timeout
Date: Fri, 6 Jul 2018 11:26:06 +0200

Hi

On Fri, Jul 6, 2018 at 10:06 AM, Alex Bennée <address@hidden> wrote:
> We see various failures on Travis so lets just double the timeout and
> see if that makes them go away.

This is just waiting for the thread to start and open a socket. It
shouldn't be a problem to wait longer, but do you have a Travis error
log?

>
> Signed-off-by: Alex Bennée <address@hidden>
> ---
>  tests/tpm-emu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tpm-emu.c b/tests/tpm-emu.c
> index 8c2bd53cad..308f1884f6 100644
> --- a/tests/tpm-emu.c
> +++ b/tests/tpm-emu.c
> @@ -20,7 +20,7 @@
>
>  void tpm_emu_test_wait_cond(TestState *s)
>  {
> -    gint64 end_time = g_get_monotonic_time() + 5 * G_TIME_SPAN_SECOND;
> +    gint64 end_time = g_get_monotonic_time() + 10 * G_TIME_SPAN_SECOND;
>
>      g_mutex_lock(&s->data_mutex);
>      if (!g_cond_wait_until(&s->data_cond, &s->data_mutex, end_time)) {
> --
> 2.17.1
>
>



-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]