Skip to content
Browse files
8268542: serviceability/logging/ tests only 1st tes…
…t case

Backport-of: 7400789
  • Loading branch information
GoeLin committed Jan 21, 2022
1 parent 521144c commit cba6c0421b573518af401b3c71b6e19a7bf82910
Showing 1 changed file with 2 additions and 1 deletion.
@@ -59,14 +59,15 @@ public static void main(String[] args) throws Exception {
for (String logOutput : validOutputs) {
// Run with logging=trace on stdout so that we can verify the log configuration afterwards.
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:logging=trace",
"-Xlog:all=trace:" + logOutput,
OutputAnalyzer output = new OutputAnalyzer(pb.start());
file.deleteOnExit(); // Clean up after test
output.shouldMatch("\\[logging *\\].*" + baseName); // Expect to see the log output listed

1 comment on commit cba6c04

Copy link

@openjdk-notifier openjdk-notifier bot commented on cba6c04 Jan 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.