Skip to content

Commit

Permalink
Single thread tests
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Dec 27, 2024
1 parent 8a1c248 commit 76f3d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .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 All @@ -186,7 +186,7 @@ jobs:

run-flaky-test:
# to debug a flaky test set `if` to true and configure the flaky test in the `run` step
if: ${{ true }}
if: ${{ false }}
timeout-minutes: 60
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
attempt=1
while true; do
echo "Running test attempt #$attempt"
if ! cargo nextest run -p driver --run-ignored ignored-only; then
if ! cargo nextest run -p e2e local_node --test-threads 1 --failure-output final --run-ignored ignored-only; then
exit 1
fi
attempt=$((attempt+1))
Expand Down

0 comments on commit 76f3d80

Please sign in to comment.