< prev index next >

test/serviceability/dcmd/gc/RunGCTest.java

Print this page

        

@@ -57,11 +57,11 @@
         } catch (IOException e) {
             Assert.fail("Test error: Could not read GC log file: " + gcLogPath, e);
         }
 
         OutputAnalyzer output = new OutputAnalyzer(gcLog, "");
-        output.shouldMatch(".*\\[Full GC \\(System(\\.gc\\(\\))?.*");
+        output.shouldContain("[Full GC (Diagnostic Command)");
     }
 
     @Test
     public void jmx() {
         run(new JMXExecutor());
< prev index next >