JDK-8215568 : Refactor SA clhsdb tests to use ClhsdbLauncher
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-12-18
  • Updated: 2021-09-23
  • Resolved: 2019-02-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.13-oracleFixed 13 b07Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Some of the SA tests which test some clhsdb commands don't use the ClhsdbLauncher for testing. Refactor these tests  to use the ClhsdbLauncher for uniformity and easier maintainence. Also making modifications in the ClhsdbLauncher runCmd() method to test for regular expressions with shouldMatch rather than shouldContain. Modifying certain tests to check for regexs. Removing some unneeded imports too.
Comments
Fix request [11u] I downport this for parity with 11.0.13-oracle. No risk, only a test change. I had to resolve some files, see PR. Tests pass.
22-09-2021

Git URL: https://github.com/openjdk/jdk/commit/9c09bb98d401e7cd7394c411c9f6f59189137646
20-09-2021

URL: http://hg.openjdk.java.net/jdk/jdk/rev/247e5ca412f5 User: jgeorge Date: 2019-02-05 02:25:07 +0000
05-02-2019

These changes were earlier proposed as a part of JDK-8199700. And there was a review comment to break the patch into smaller chunks. This is one of the chunks.
19-12-2018