jmx-dev Integrated: 8336257: Additional tests in jmxremote/startstop to match on PID not app name

Kevin Walls kevinw at openjdk.org
Thu Jul 11 20:47:56 UTC 2024


On Thu, 11 Jul 2024 14:51:18 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Follow-on from JDK-8207908.
> 
> Two tests are broken by that change:
> sun/management/jmxremote/startstop/JMXStartStopTest.java	
> sun/management/jmxremote/startstop/JMXStatusPerfCountersTest.java
> 
> These are additional tests which use jcmd and an application name pattern to find a process.
> They should use the PID to avoid finding a process from some other concurrent test invocation.
> So it's good to have the same kind of change applied here too.

This pull request has now been integrated.

Changeset: 687601eb
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/687601ebcaedf133fd4d5cecc42c5aadf9c73f3c
Stats:     6 lines in 2 files changed: 2 ins; 1 del; 3 mod

8336257: Additional tests in jmxremote/startstop to match on PID not app name

Reviewed-by: cjplummer, alanb, amenkov, dcubed

-------------

PR: https://git.openjdk.org/jdk/pull/20138


More information about the jmx-dev mailing list