Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
test case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TriptiTripathi1234 committed Sep 21, 2022
1 parent 0af04af commit 35c64eb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ static double getDurationMetricValue(Event event) {
}

static double getDurationMetricValueTrace(StructuredTrace structuredTrace) {
MetricValue value =
structuredTrace.getEventList().get(0).getMetrics().getMetricMap().get("Duration-micro");
MetricValue value = structuredTrace.getMetrics().getMetricMap().get("Duration-micro");
return value.getValue();
}

Expand Down

0 comments on commit 35c64eb

Please sign in to comment.