Skip to content

Commit a3a933a

Browse files
fix(op-service): increase Anvil startup timeout from 5s to 30s (ethereum-optimism#19424)
The 5s timeout is too tight under CI load. When 12 parallel test nodes compete for CPU/IO on a 2xlarge box, Anvil sometimes takes >5s to print its "Listening on" line, triggering "anvil did not start in time" in TestImplementations and TestSuperchain. This is the #2 and #3 most frequent flake in the repo over the last 7 days (67 and 46 incidences). 30s gives Anvil enough headroom on a loaded machine while still failing fast on a genuine startup failure. Co-authored-by: smartcontracts <smartcontracts@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5416d68 commit a3a933a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

op-service/testutils/devnet/anvil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (r *Anvil) Start() error {
114114
go r.outputStream(r.stdout)
115115
go r.outputStream(r.stderr)
116116

117-
timeoutC := time.NewTimer(5 * time.Second)
117+
timeoutC := time.NewTimer(30 * time.Second)
118118

119119
select {
120120
case <-r.startedCh:

0 commit comments

Comments
 (0)