Skip to content

Commit 4dcbd13

Browse files
committed
8314905: jdk/jfr/tool/TestView.java fails with RuntimeException 'Invoked Concurrent' missing from stdout/stderr
Reviewed-by: mgronlun
1 parent 5dee2a3 commit 4dcbd13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/jdk/jdk/jfr/tool/TestView.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ private static void testTableView(String recording) throws Throwable {
9191

9292
private static void testEventType(String recording) throws Throwable {
9393
OutputAnalyzer output = ExecuteHelper.jfr(
94-
"view", "--verbose", "--width", "300", "--cell-height", "100", "SystemGC", recording);
94+
"view", "--verbose", "--width", "300", "--cell-height", "100", "ThreadSleep", recording);
9595
// Verify title
96-
output.shouldContain("System GC");
96+
output.shouldContain("Thread Sleep");
9797
// Verify headings
98-
output.shouldContain("Invoked Concurrent");
98+
output.shouldContain("Sleep Time");
9999
// Verify verbose headings
100-
output.shouldContain("invokedConcurrent");
100+
output.shouldContain("time");
101101
// Verify thread value
102102
output.shouldContain(Thread.currentThread().getName());
103103
// Verify stack frame

0 commit comments

Comments
 (0)