RFR: 8276139: TestJpsHostName.java not reliable, better to expand HostIdentifierCreate.java test

Kevin Walls kevinw at openjdk.java.net
Fri Oct 29 11:37:28 UTC 2021


Remove a specific test which invokes jps on a fictional process, and can timeout and fail.
Instead, add to the patterns used in open/test/jdk/sun/jvmstat/monitor/HostIdentifier/HostIdentifierCreate.java which will perform the same test, that we can create a HostIdentifier using numeric values.

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

Commit messages:
 - Add bug ref in existing test
 - 8276139: TestJpsHostName.java not reliable, better to expand HostIdentifierCreate.java test

Changes: https://git.openjdk.java.net/jdk/pull/6170/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6170&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8276139
  Stats: 61 lines in 3 files changed: 14 ins; 46 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6170.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6170/head:pull/6170

PR: https://git.openjdk.java.net/jdk/pull/6170


More information about the serviceability-dev mailing list