Version: 0.13-1

Helge Deller [2018-11-27 21:40 +0100]:
> umockdev fails to build quite often on the hppa architecture, as can be seen 
> here:
> https://buildd.debian.org/status/logs.php?pkg=umockdev&arch=hppa
> 
> I did some testing, and I think it fails because of timing issues.
> Attached trivial patch (which increases the delay time) seems to fix it.
> 
> So, can you please include the attached patch (or another one which increases 
> the timeout)
> in the next upload?
> 
> Thanks,
> Helge

> diff -up ./tests/test-umockdev.c.org ./tests/test-umockdev.c
> --- ./tests/test-umockdev.c.org       2018-11-27 21:20:00.375030350 +0100
> +++ ./tests/test-umockdev.c   2018-11-27 21:20:06.079035516 +0100
> @@ -1691,7 +1691,7 @@ r 10 ^@response\n";
>  
>    /* should get initial greeting after 200 ms */
>    ASSERT_EOF;
> -  usleep(220000);
> +  usleep(220000*2);
>    g_assert_cmpint(read(fd, buf, 5), ==, 5);
>    g_assert(strncmp(buf, "ready", 5) == 0);
>    g_assert_cmpint(errno, ==, 0);

This patch landed in upstream release 0.13 two years ago.

The recent failures are something else (#767908) and will be fixed in 0.14.2.

Martin

Reply via email to