From 36fe17b5797a36f179ddddffa1da634c91bb12ee Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Sat, 18 May 2024 00:56:13 +0200 Subject: [PATCH] test(python): Raise import timing test threshold --- py-polars/tests/unit/test_polars_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/tests/unit/test_polars_import.py b/py-polars/tests/unit/test_polars_import.py index a0081b02a2e5..ed9bad5a4a7a 100644 --- a/py-polars/tests/unit/test_polars_import.py +++ b/py-polars/tests/unit/test_polars_import.py @@ -10,10 +10,10 @@ import polars as pl from polars import selectors as cs -# set a maximum cutoff at 0.25 secs; note that we are typically much faster +# set a maximum cutoff at 0.3 secs; note that we are typically much faster # than this (more like ~0.07 secs, depending on hardware), but we allow a # margin of error to account for frequent noise from slow/contended CI. -MAX_ALLOWED_IMPORT_TIME = 250_000 # << microseconds +MAX_ALLOWED_IMPORT_TIME = 300_000 # << microseconds def _import_time_from_frame(tm: pl.DataFrame) -> int: