Skip to content

Commit 8f7035a

Browse files
authored
fix: increase JSON-RPC integration test server startup timeout (#3903)
The 10-second timeout is too tight for `go run .` to compile the generated 45-method test service from scratch on GitHub-hosted runners with Go 1.24. This has been failing consistently since the Feb 23 runner image update. Increase to 60 seconds to accommodate cold compilations on slower CI environments.
1 parent 57351f1 commit 8f7035a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jsonrpc/integration_tests/harness/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ func (s *Server) waitForReady(ctx context.Context) error {
209209
return nil
210210
case err := <-errChan:
211211
return err
212-
case <-time.After(10 * time.Second):
213-
return fmt.Errorf("server failed to start within 10 seconds")
212+
case <-time.After(60 * time.Second):
213+
return fmt.Errorf("server failed to start within 60 seconds")
214214
case <-ctx.Done():
215215
return ctx.Err()
216216
}

0 commit comments

Comments
 (0)