RFR(S): JDK-8029808 com/sun/jdi/ProcessAttachTest.sh times out

Dmitry Samersoff dmitry.samersoff at oracle.com
Thu Jan 30 08:35:18 PST 2014


Staffan,

Looks good for me except windows part.

Can you replace all this staff with call to jps ?

-Dmitry


On 2014-01-30 20:11, Staffan Larsen wrote:
> webrev: http://cr.openjdk.java.net/~sla/8029808/webrev.00/
> bug: https://bugs.openjdk.java.net/browse/JDK-8029808
> 
> I have tried to improve the stability of this test in a couple of ways.
> 
> - Timeout set to 120s - it should never need to run that long
> - When we start the debugee, we wait for the port-file to become available instead of waiting for output from the process. This should be less racy.
> - stderr output from the debuggee and ShutdownDebuggee programs are captured with the stdout output
> - Moved “sleep 1” to after the check for the port file so the test is faster if the file already exists
> 
> I’m not sure any of these are the cause of the timeout, but at least it should be a bit more stable now.
> 
> /Staffan
> 


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list