Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/amd_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ jobs:
source "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate"
cd testing/python/amd
unset PYTHONPATH
python -m pytest -v test_tilelang_test_amd.py --durations=0
python -m pytest -v test_tilelang_test_amd.py --durations=0 --timeout=3600
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ jobs:
source "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate"
cd testing/python
unset PYTHONPATH
python -m pytest -n 4 -v -r fE --durations=0
python -m pytest -n 4 -v -r fE --durations=0 --timeout=3600
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ numpy>=1.23.5
pytest>=6.2.4
pytest_xdist>=2.2.1
pytest-durations
pytest-timeout
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Adding pytest-timeout is the first step, but the timeout itself is not configured anywhere in this PR. Without configuration, the plugin will not be active, and tests can still hang indefinitely. To fix this, you need to set a timeout value. You can do this, for example, by adding timeout = 600 (for a 10-minute timeout) under the [pytest] section of a pytest.ini file, or by adding the --timeout=600 flag to your pytest command in your CI scripts.

packaging>=21.0
PyYAML
tqdm>=4.62.3
Expand Down
Loading