Skip to content

Commit

Permalink
test: fix flaky metrics integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
a-cordier authored and jgiovaresco committed Mar 8, 2024
1 parent 0e7fdfe commit ba0f67f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void should_report_the_metrics_for_the_request(HttpClient httpClient) {
soft.assertThat(metrics.getTransactionId()).isEqualTo(TRANSACTION_ID);
soft.assertThat(metrics.isRequestEnded()).isFalse();
soft.assertThat(metrics.getStatus()).isZero();
soft.assertThat(metrics.getEndpointResponseTimeMs()).isGreaterThan(Integer.MAX_VALUE);
soft.assertThat(metrics.getEndpointResponseTimeMs()).isPositive();
soft.assertThat(metrics.getGatewayLatencyMs()).isEqualTo(-1);
soft.assertThat(metrics.getGatewayResponseTimeMs()).isEqualTo(-1);
});
Expand Down

0 comments on commit ba0f67f

Please sign in to comment.