From 55258c0a884fd7da3365e962a65e85cb5c3390e8 Mon Sep 17 00:00:00 2001 From: Steven van der Vegt Date: Tue, 12 May 2026 09:26:57 +0200 Subject: [PATCH] test: bump StartServer startup poll timeout to 10s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slow CI runners (CircleCI 1/4 CPU) occasionally exceed the 5s budget while the node initializes its heavier engines (VDR, VCR, NATS, gRPC), causing flakes in integration tests such as TestOpenID4VCIHappyFlow. Double the budget to 10s — well under any reasonable expected boot time, but enough headroom to absorb scheduler jitter on constrained runners. The polling cadence (10ms + Gosched, see test/predicates.go) still gives ~1000 polls per second. Co-Authored-By: Claude Opus 4.7 (1M context) --- test/node/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/node/server.go b/test/node/server.go index 7433f13b89..441a55355e 100644 --- a/test/node/server.go +++ b/test/node/server.go @@ -97,7 +97,7 @@ func StartServer(t *testing.T, configFunc ...func(internalHttpServerURL, publicH if !test.WaitFor(t, func() (bool, error) { resp, err := client.Get(internalHttpServerURL + "/status") return err == nil && resp.StatusCode == http.StatusOK, nil - }, time.Second*5, "Timeout while waiting for node to become available") { + }, time.Second*10, "Timeout while waiting for node to become available") { t.Fatal("time-out") }