Skip to content

Commit 4464500

Browse files
committed
Loosen tolerance again
1 parent 2590f4c commit 4464500

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/database/test_integration_speed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ def test_overhead(groupby, tmpdir):
7878
stop_db_save = time.perf_counter()
7979
time_db_save = stop_db_save - start_db_save
8080

81-
# Ok, particularly given how few files we're dealing with.
81+
# These tolerances are ok, particularly given how few files we're dealing with.
8282
# This is mainly about avoiding a factor of 10
8383
# (which was the difference we were getting in earlier implemenations).
84-
tol_save = 0.4
85-
tol_load = 0.3
84+
tol_save = 2.0
85+
tol_load = 2.0
8686

8787
overhead = (time_db_save - time_pandas_save) / time_pandas_save
8888
assert overhead <= tol_save, f"Overhead is more than {tol_save*100}%"

0 commit comments

Comments
 (0)