Infinite Timeout?

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jul 29 14:29:30 PDT 2011


On 07/29/2011 02:05 PM, Mike Duigou wrote:
> I'm working on a bug that involves a lot of reflection and proxies and trying to debug it using the jtreg unit test and attaching to the process with netbeans debugger. I initially ran into problems when jtreg timed out the test after 120 seconds. I then tried increasing the timeout value but my requests for "10000000" were rejected. I'm currently using a timeout factor of 100 but it would be nice to be able to say "-timeout:never". Is there a way to disable timeouts entirely?
>
> Mike

Mike,

In cases like this, I think it would be expected that you run the test 
outside the jtreg framework.    All API tests written in Java should 
have a main program.   Is this a reasonable way for you to proceed?

-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20110729/a7086df4/attachment.html 


More information about the jtreg-use mailing list