RFR: 8221303: sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails due to java.rmi.server.ExportException: Port already in use
Daniil Titov
daniil.x.titov at oracle.com
Thu Jul 11 17:16:32 UTC 2019
Please review the change that fixes an intermittent failure of sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java
test due to ports collision. The tests finds all network interfaces and for every interface starts a separate process that tests
the connection to JMX agent server for a specific ports/interface combination.
The test was changed to retry in case of the failure. If the subprocess fails to bind and the number
of retry attempts doesn't exceed the limit a new pair of random ports is selected and the test is run again.
Webrev: http://cr.openjdk.java.net/~dtitov/8221303/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8221303
Thanks!
--Daniil
More information about the serviceability-dev
mailing list