RFR: 6804470 JvmstatCountersTest.java test times out on slower machines
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Tue Oct 15 01:10:03 PDT 2013
On 14.10.2013 20:11, Alan Bateman wrote:
> 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.
Thanks for the review. I'm talking to QE about using the -timeoutFactor
option in the automated test runs if possible.
-JB-
>
> -Alan.
More information about the serviceability-dev
mailing list