8314905: jdk/jfr/tool/TestView.java fails with RuntimeException 'Invoked Concurrent' missing from stdout/stderr

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2023-12-02 17:03:15 +00:00
parent 5dee2a3675
commit 4dcbd13f99

@ -91,13 +91,13 @@ public class TestView {
private static void testEventType(String recording) throws Throwable {
OutputAnalyzer output = ExecuteHelper.jfr(
"view", "--verbose", "--width", "300", "--cell-height", "100", "SystemGC", recording);
"view", "--verbose", "--width", "300", "--cell-height", "100", "ThreadSleep", recording);
// Verify title
output.shouldContain("System GC");
output.shouldContain("Thread Sleep");
// Verify headings
output.shouldContain("Invoked Concurrent");
output.shouldContain("Sleep Time");
// Verify verbose headings
output.shouldContain("invokedConcurrent");
output.shouldContain("time");
// Verify thread value
output.shouldContain(Thread.currentThread().getName());
// Verify stack frame