< prev index next >

test/serviceability/dcmd/gc/RunGCTest.java

Print this page

        

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