bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tests: tail-2/pid: use a 3-second timeout, not 1


From: Pádraig Brady
Subject: Re: [PATCH] tests: tail-2/pid: use a 3-second timeout, not 1
Date: Thu, 01 Oct 2009 02:05:33 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Jim Meyering wrote:
> FYI, I ran make -j9 check on a fast quad-core system earlier
> today and saw this failure:
> 
>     FAIL: tail-2/pid (exit: 1)
>     ==========================
>     ...
>     + timeout 1 tail -s.1 -f /dev/null --pid=2147483647
>     + test 124 = 124
>     + fail=1
> 
> To me, that means it took more than 1 second for the child to start,
> and so the parent's 1-second timeout expired, causing the failure.

Fair enough. Though considering it's a fast quad-core system,
latencies of over 900ms are surprising.

Note we seem to be sleeping for this case which isn't helping.
I'll look at whether we can check the pid before doing a sleep
for the next release.

I've nothing outstanding that needs to go into 7.7

cheers,
Pádraig.




reply via email to

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