Message ID | a062e92a-b368-90e2-9a70-bdb810e6b484@redhat.com |
---|---|
State | New |
Headers | show |
On 05/18/2017 09:42 PM, Carlos O'Donell wrote: > I disagree with Florian on the basis that we need to do > _everything_ possible to have `make check` just work (tm) > so developers don't have to set TIMEOUTFACTOR for average > developer machines. > > I'm OK with 35s. I'll raise it to 35s and simplify the > comment a bit. > > v2 > - Raise to 35s. > > OK with this? I meant to come back to this. I was wrong, raising the timeout is fine. I personally did this for some other tests, after all. Thanks, Florian
Carlos O'Donell <carlos@redhat.com> writes: > I agree with you. > > I disagree with Florian on the basis that we need to do > _everything_ possible to have `make check` just work (tm) > so developers don't have to set TIMEOUTFACTOR for average > developer machines. > > I'm OK with 35s. I'll raise it to 35s and simplify the > comment a bit. > > v2 > - Raise to 35s. > > OK with this? Yes. Thanks!
diff --git a/nptl/tst-robust-fork.c b/nptl/tst-robust-fork.c index d2c8a5a..c3a10da 100644 --- a/nptl/tst-robust-fork.c +++ b/nptl/tst-robust-fork.c @@ -25,11 +25,10 @@ #include <support/xunistd.h> #include <sys/mman.h> -/* This test can take as long as 22 seconds on some x86_64 hardware, - so increase the timeout to 25 seconds to allow it to pass. More - than half of the time is spent in page_fault() in the kernel and - do_lookup_x() in ld.so. */ -#define TIMEOUT 25 +/* This test takes as long as 20-30s on average developer hardware + so we increase it to 35s. More than half of the time is spent + in the kernel page_fault() or ld.so's do_lookup_x(). */ +#define TIMEOUT 35 /* Data shared between processes. */ struct shared