@@ -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());