Skip to content

Commit

Permalink
ci: Set timeouts to pytest runs
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jun 10, 2022
1 parent cedda5e commit 673a52f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ extra_requirements.add = [
args = ["-v", "-m", "'not integration'"]
lockfile = "tools/pytest.lock"
execution_slot_var = "BACKEND_TEST_EXEC_SLOT"
timeout_default = 300

[mypy]
version = "mypy>=0.950"
Expand Down
3 changes: 3 additions & 0 deletions tests/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ python_tests(
sources=[
"**/test_*.py",
],
overrides={
"test_distributed.py": {"timeout": 30},
},
)

pex_binary(
Expand Down

0 comments on commit 673a52f

Please sign in to comment.