Skip to content

Commit

Permalink
Problem: no debug files uploaded when timeout in ci (evmos#511)
Browse files Browse the repository at this point in the history
* Problem: no debug files uploaded when timeout in ci

30mins for marked, 1h for all in pytest

* Apply suggestions from code review

* set both
  • Loading branch information
mmsqe authored Aug 7, 2024
1 parent 0e0baa4 commit e3b813e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ TESTS_TO_RUN="${TESTS_TO_RUN:-all}"

if [[ "$TESTS_TO_RUN" == "all" ]]; then
echo "run all tests"
pytest -vv -s
pytest -vv -s --session-timeout=3600 --timeout=3600
else
echo "run tests matching $TESTS_TO_RUN"
pytest -vv -s -m "$TESTS_TO_RUN"
pytest -vv -s --session-timeout=1800 --timeout=1800 -m "$TESTS_TO_RUN"
fi
16 changes: 15 additions & 1 deletion tests/integration_tests/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/integration_tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ flaky = "^3.7"
eth-bloom = "^3.0"
eth-hash = "^0"
jedi-language-server = "^0.41.3"
pytest-timeout = "^2.3.1"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit e3b813e

Please sign in to comment.