[jdk8u-dev] RFR: 8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use
Sergey Bylokhov
serb at openjdk.org
Fri Aug 16 00:27:53 UTC 2024
On Thu, 25 Jan 2024 07:32:51 GMT, Kazuhisa Takakuri <ktakakuri at openjdk.org> wrote:
> Hi all,
>
> This is a backport of JDK-8035395: sun/management/jmxremote/startstop/JMXStartStopTest.java fails intermittently: Port already in use.
> The JMXStartStopTest.java test failures reported in this issue also occur in JDK8.
> This backport improves testing to use a dynamically allocated port.
>
> testing: jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java
>
> With this fix alone, the test remains unstable.
> Backporting with JDK-8035395 makes JMXStartStopTest.java more stable.
>
> Thank you.
jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java line 768:
> 766: "jmxremote.port=" + pa.getPort1()
> 767: );
> 768: testConnect(port1);
fyi: change to port1 is missed, see https://github.com/openjdk/jdk8u-dev/pull/541
-------------
PR Review Comment: https://git.openjdk.org/jdk8u-dev/pull/429#discussion_r1719147475
More information about the jdk8u-dev
mailing list