Skip to content

Commit

Permalink
Add timeout for cudf.pandas pandas tests (#15284)
Browse files Browse the repository at this point in the history
This PR adds `timeout` for the pytest command so that we can release the GPU resources if we detect a hang. Total suite usually takes 21 mins, I added 30 mins as the timeout.

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #15284
  • Loading branch information
galipremsagar authored Mar 13, 2024
1 parent 2020ddd commit 6966fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/pandas/scripts/run-pandas-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ and not test_numpy_ufuncs_basic[nullable_float-arctanh] \
and not test_numpy_ufuncs_basic[nullable_float-deg2rad] \
and not test_numpy_ufuncs_basic[nullable_float-rad2deg]"

PANDAS_CI="1" python -m pytest -p cudf.pandas \
PANDAS_CI="1" timeout 30m python -m pytest -p cudf.pandas \
-v -m "not single_cpu and not db" \
-k "not test_overwrite_warns and not test_complex_series_frame_alignment and not test_to_parquet_gcs_new_file and not test_qcut_nat and not test_add and not test_ismethods and $TEST_NUMPY_UFUNCS_BASIC_FLAKY" \
--import-mode=importlib \
Expand Down

0 comments on commit 6966fd8

Please sign in to comment.