From f0d2aa10f7176b6a54ab98b23a769ef2b7bdeb9f Mon Sep 17 00:00:00 2001 From: Daniel Lenton Date: Fri, 8 Nov 2024 00:33:30 +0000 Subject: [PATCH] added 30 second default timeout per test, in attempt to resolve the tests hanging in CI, presumable due to IO conflicts with the DB which different runs read and write to. --- .github/workflows/tests.yml | 2 +- .run/pycharm/Python tests for test_evals.run.xml | 2 +- .run/pycharm/Python tests for test_routing.run.xml | 2 +- .run/pycharm/Python tests for test_universal_api.run.xml | 2 +- .run/pycharm/Python tests for test_utils.run.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6132cb74..327edc0c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: # name: cache # path: .cache.json - name: Run unit tests - run: poetry run pytest -p no:warnings -vv . + run: poetry run pytest --timeout=30 -p no:warnings -vv . env: UNIFY_KEY: ${{ secrets.USER_API_KEY }} - name: Upload cache diff --git a/.run/pycharm/Python tests for test_evals.run.xml b/.run/pycharm/Python tests for test_evals.run.xml index fd917a5b..74285ae7 100644 --- a/.run/pycharm/Python tests for test_evals.run.xml +++ b/.run/pycharm/Python tests for test_evals.run.xml @@ -21,7 +21,7 @@ -