Skip to content

Commit 804eef4

Browse files
tmmampagent
andauthored
test(zero-swift): give the nightly JS corpora vitest time to generate (#113)
At 15,000 cases the sweep corpus took 14 s on the runner, past vitest's 10 s default, and failed the first nightly run before the Swift side ran. Amp-Thread-ID: https://ampcode.com/threads/T-c513a037-a257-45e0-b9a9-15c15edfe859 Co-authored-by: Amp <amp@ampcode.com>
1 parent 7c4749e commit 804eef4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/swift-nightly.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
export HARDEN_IVM_SEED=$((base * 10)) HARDEN_IVM_SEEDS=5
5252
export AGG_FUZZ_SEED=$base AGG_FUZZ_CASES=750
5353
env | grep -E '_(SEED|SEEDS|CASES)=' | sort
54-
pnpm exec vitest run src/ivm/ivm.test.ts src/ivm/ivm-features.test.ts \
54+
# Five to ten times the cases outlast vitest's 10 s default; the
55+
# job's timeout bounds them.
56+
pnpm exec vitest run --test-timeout=600000 src/ivm/ivm.test.ts src/ivm/ivm-features.test.ts \
5557
src/ivm/sweep-ivm.test.ts src/ivm/harden-ivm.test.ts src/client/bughunt.test.ts
5658
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5759
with:

0 commit comments

Comments
 (0)