Skip to content

Commit

Permalink
update test case (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkdlau committed Jun 21, 2024
1 parent 7b67eae commit e862994
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void analyze(String gcLogFile) {
// Retrieves the Aggregation for PauseTimeSummary. This is a com.microsoft.gctoolkit.sample.aggregation.RuntimeAggregation.
machine.getAggregation(PauseTimeSummary.class).ifPresent(pauseTimeSummary -> {
Assertions.assertEquals( 208.922, pauseTimeSummary.getTotalPauseTime(), 0.001d, "Total Pause Time");
Assertions.assertEquals( 608800.087, pauseTimeSummary.estimatedRuntime(),0.001d, "Runtime duration");
Assertions.assertEquals( 608797.895, pauseTimeSummary.estimatedRuntime(),0.001d, "Runtime duration");
Assertions.assertEquals( 34, (int)(pauseTimeSummary.getPercentPaused() * 1000d), "percent paused");
});

Expand Down

0 comments on commit e862994

Please sign in to comment.