Skip to content

Commit

Permalink
Fix driver tests flakiness (#3185)
Browse files Browse the repository at this point in the history
# Description
It seems like running the driver tests in a single-thread mode fixes the
issue with accidentally stuck
tests(https://github.com/cowprotocol/services/actions/runs/11141574437/job/30962723813).
During a couple of runs using the flaky runner job, not a single driver
test failed. The only disadvantage is that these tests execute now 5m
instead of 2m.
  • Loading branch information
squadgazzz authored Dec 31, 2024
1 parent 68a5bac commit 9d5a117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
# Build the driver's tests.
- run: cargo build -p driver --tests
# Don't spawn any docker containers. The driver's tests will spawn anvil itself.
- run: cargo nextest run -p driver --run-ignored ignored-only
- run: cargo nextest run -p driver --test-threads 1 --run-ignored ignored-only

openapi:
timeout-minutes: 60
Expand Down

0 comments on commit 9d5a117

Please sign in to comment.