Skip to content

Commit

Permalink
Loosen unit test performance assert (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwyattii authored Dec 8, 2023
1 parent 6f3f730 commit c4dfa56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_multi_replica(deployment, query):
double_query_time = sum(double_query_time) / 2

assert single_query_time == pytest.approx(
double_query_time, 0.1
double_query_time, single_query_time / 2
), "two queries should take about the same time as one query"


Expand Down

0 comments on commit c4dfa56

Please sign in to comment.