RFR: 6804470 JvmstatCountersTest.java test times out on slower machines
Alan Bateman
Alan.Bateman at oracle.com
Mon Oct 14 11:11:25 PDT 2013
On 14/10/2013 16:21, Jaroslav Bachorik wrote:
> Please, review the following simple change.
>
> The test times out on slower machines and I was able to reproduce the
> failure even on a normally fast machine using the fastdebug build. The
> timeout does not occur on every run - more like once in 10-15 runs.
>
> There is nothing really wrong with the test - it just takes rather
> long time to obtain the jvmstat counters. The remedy is to specify a
> longer timeout and see if it is enough. I am using 10 minutes for the
> timeout in the patch.
>
> Issue : https://bugs.openjdk.java.net/browse/JDK-6804470
> Webrev: http://cr.openjdk.java.net/~jbachorik/6804470/webrev.00
>
> Thanks,
>
> -JB-
This looks okay to me but if someone is testing a fastdebug build then
they really need to specify the -timeoutFactor option to jtreg so as to
scale the timeouts.
-Alan.
More information about the serviceability-dev
mailing list