Skip to content

Commit

Permalink
Avoid rounding error in `test_prometheus_collect_count_total_by_cost_…
Browse files Browse the repository at this point in the history
…multipliers` (#8687)
  • Loading branch information
hendrikmakait authored Jun 14, 2024
1 parent f7921a1 commit 8cbddde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/http/scheduler/tests/test_stealing_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def fetch_metrics_by_cost_multipliers():
for request in event[1]
if event[0] == "request"
)
assert count == expected_cost
assert count == pytest.approx(expected_cost)


@gen_cluster(
Expand Down

0 comments on commit 8cbddde

Please sign in to comment.