Skip to content

Commit a394d9a

Browse files
committed
Add timeout to diagnose TCP branch hanged tests
1 parent a0f6937 commit a394d9a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

python_packages/jupyter_lsp/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ addopts =
6161
--cov-report term-missing:skip-covered
6262
-p no:warnings
6363
--flake8
64+
timeout = 300

requirements/github-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dependencies:
3434
# test tools
3535
- pytest-asyncio
3636
- pytest-cov
37+
- pytest-timeout
3738
# temporary pin added on 2022-12-28, if editing this file try to remove it:
3839
# pytoolconfig 1.2.4 depends on packaging>=22.0 which breaks `pip check`
3940
- pytoolconfig <1.2.4

requirements/utest.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ pytest-asyncio
55
pytest-cov
66
pytest-flake8
77
pytest-runner
8+
pytest-timeout
89
python-lsp-server
910
pluggy<1.0,>=0.12 # Python 3.5 CI Travis, may need update with new pytest releases, see issue 259

0 commit comments

Comments
 (0)