Skip to content

Commit

Permalink
Remove extra duration check in fastapi test
Browse files Browse the repository at this point in the history
Left behind erroneously from #2682
  • Loading branch information
lzchen authored Jul 25, 2024
1 parent 4f98519 commit a8da239
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ def test_basic_metric_nonstandard_http_method_success_both_semconv(self):
for point in list(metric.data.data_points):
if isinstance(point, HistogramDataPoint):
self.assertEqual(point.count, 1)
self.assertAlmostEqual(duration, point.sum, delta=40)
if metric.name == "http.server.request.duration":
self.assertAlmostEqual(duration_s, point.sum, places=1)
self.assertDictEqual(
Expand Down

0 comments on commit a8da239

Please sign in to comment.