Skip to content

Commit

Permalink
Merge pull request #25 from langchain-ai/timeout
Browse files Browse the repository at this point in the history
Adjust global pytest timeout
  • Loading branch information
eyurtsev authored Nov 10, 2023
2 parents 76eaae6 + 89343ec commit 0aed8f9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ omit = [
# --strict-config any warnings encountered while parsing the `pytest`
# section of the configuration file raise errors.
addopts = "--strict-markers --strict-config --durations=5 -vv"
# Global timeout for all tests. There shuold be a good reason for a test to
# take more than 5 second
timeout = 5
# Use global timeout of 30 seconds for now.
# Most tests should be closer to ~100 ms, but some of the tests involve
# parsing files. We can adjust on a per test basis later on.
timeout = 30


[build-system]
Expand Down

0 comments on commit 0aed8f9

Please sign in to comment.