Skip to content

Commit d0b0dd9

Browse files
committed
test: harden timing-sensitive e2e and integration tests
1 parent bfb6839 commit d0b0dd9

6 files changed

Lines changed: 413 additions & 288 deletions

File tree

.github/workflows/fal-e2e-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
timeout-minutes: 10
3535
strategy:
3636
fail-fast: false
37+
max-parallel: 2
3738
matrix:
3839
os: [ubuntu-latest]
3940
deps: ["pydantic==1.10.18", "pydantic==2.13.3"]
@@ -74,4 +75,4 @@ jobs:
7475
FAL_GRPC_HOST: api.alpha.fal.ai
7576
FAL_REST_HOST: rest.fal.ai
7677
FAL_RUN_HOST: fal.run
77-
run: pytest -n auto --dist loadgroup -v projects/fal/tests/e2e
78+
run: pytest -n auto --dist loadgroup --timeout=120 -v projects/fal/tests/e2e

.github/workflows/fal-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ jobs:
7171
FAL_GRPC_HOST: api.alpha.fal.ai
7272
FAL_REST_HOST: rest.fal.ai
7373
FAL_RUN_HOST: fal.run
74-
run: pytest -n auto -v projects/fal/tests/integration
74+
run: pytest -n auto --dist loadgroup --timeout=120 -v projects/fal/tests/integration

0 commit comments

Comments
 (0)