From mike.duigou at oracle.com Fri Jul 29 14:05:16 2011 From: mike.duigou at oracle.com (Mike Duigou) Date: Fri, 29 Jul 2011 14:05:16 -0700 (PDT) Subject: Infinite Timeout? Message-ID: <186600B8-B254-4CB2-8F72-CBF9DFC5FFF9@oracle.com> 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 From jonathan.gibbons at oracle.com Fri Jul 29 14:29:30 2011 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Fri, 29 Jul 2011 14:29:30 -0700 Subject: Infinite Timeout? In-Reply-To: <186600B8-B254-4CB2-8F72-CBF9DFC5FFF9@oracle.com> References: <186600B8-B254-4CB2-8F72-CBF9DFC5FFF9@oracle.com> Message-ID: <4E33263A.7050404@oracle.com> 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