From 50532d099d564659a8f98043a0164ed49cd30f95 Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Mon, 4 Mar 2024 16:32:23 +0100 Subject: [PATCH] Add timeouts for CI wheel tests (#1029) Add timeouts for CI wheel tests to prevent it from getting stuck if something fails in an unexpected way. Authors: - Peter Andreas Entschev (https://github.com/pentschev) Approvers: - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/ucx-py/pull/1029 --- ci/test_wheel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test_wheel.sh b/ci/test_wheel.sh index 513bdb71..6eec6551 100755 --- a/ci/test_wheel.sh +++ b/ci/test_wheel.sh @@ -11,6 +11,6 @@ RAPIDS_PY_WHEEL_NAME="ucx_py_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-fr python -m pip install $(echo ./dist/ucx_py*.whl)[test] cd tests -python -m pytest --cache-clear -vs . +timeout 10m python -m pytest --cache-clear -vs . cd ../ucp -python -m pytest --cache-clear -vs ./_libs/tests/ +timeout 2m python -m pytest --cache-clear -vs ./_libs/tests/