Skip to content

Commit

Permalink
test duration fix (via #41)
Browse files Browse the repository at this point in the history
Co-authored-by: i.myakotin <i.myakotin@tinkoff.ru>
  • Loading branch information
rehsals and i.myakotin authored Dec 7, 2022
1 parent 811c768 commit 52c30c0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public TestResult format(final ExportMeta meta, final JsonNode node) {
result.setStop(result.getStart() + durationToMillis);
}
if (result.getSteps().size() > 0) {
result.setStart(result.getSteps().get(0).getStart());
result.setStop(result.getSteps().get(result.getSteps().size() - 1).getStop());
}
}
Expand Down

0 comments on commit 52c30c0

Please sign in to comment.