IcedTea testsuite - setting timeout factor

Pavel Tisnovsky ptisnovs at redhat.com
Thu Mar 10 03:48:49 PST 2011


Dennis Schridde wrote:
> Hi!
> 
> I have been told you know how the IcedTea testsuite works and hence would know 
> whether it is possible to manually specify a timeout factor.
> 
> Currently I am using the attached patch to make the tests run without timing 
> out on my slow IA64 machine.
> 
> Kind regards,
> Dennis
> 

Hi Dennis,

if you have problems with particular regression tests (as I had for some
hotspot tests), you can specify timeout value in the test itself using
the following comment:

@run main/timeout=30 FoundType

The timeout value is specified in seconds in this case.

You can also specify this flag while running jtreg.jar:
-timeoutFactor:10

Please note that tests containing some form of endless loop have to be
run by othervm.

I hope this helps
Pavel



More information about the distro-pkg-dev mailing list