Skip to content

Commit ddefa22

Browse files
author
Adrian Chang
committed
timeout 60 per test
1 parent 05456f3 commit ddefa22

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ dev-dependencies = [
2626
"toml-cli>=0.6.0",
2727
"faker>=25.5.0",
2828
"pytest-timestamper>=0.0.10",
29+
"pytest-timeout>=2.3.1",
2930
]
3031

3132
[tool.rye.workspace]
3233
members = ["libs/*", "examples"]
3334

3435
[tool.pytest.ini_options]
35-
addopts = "-rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --maxprocesses=10 --cov=labelbox --import-mode=importlib"
36+
addopts = "-rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --maxprocesses=10 --cov=labelbox --import-mode=importlib --timeout=60"
3637
markers = """
3738
slow: marks tests as slow (deselect with '-m "not slow"')
3839
"""

requirements-dev.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,13 @@ pytest==8.2.2
200200
# via pytest-cov
201201
# via pytest-rerunfailures
202202
# via pytest-snapshot
203+
# via pytest-timeout
203204
# via pytest-xdist
204205
pytest-cases==3.8.5
205206
pytest-cov==5.0.0
206207
pytest-rerunfailures==14.0
207208
pytest-snapshot==0.9.0
209+
pytest-timeout==2.3.1
208210
pytest-timestamper==0.0.10
209211
pytest-xdist==3.6.1
210212
python-dateutil==2.8.2

0 commit comments

Comments
 (0)