diff --git a/cmd/soroban-rpc/internal/test/integration.go b/cmd/soroban-rpc/internal/test/integration.go index 7f1efd41..eec2775b 100644 --- a/cmd/soroban-rpc/internal/test/integration.go +++ b/cmd/soroban-rpc/internal/test/integration.go @@ -242,7 +242,7 @@ func (i *Test) waitForRPC() { defer client.Close() var result methods.HealthCheckResult - for t := 30; t >= 0; t-- { + for t := 120; t >= 0; t-- { err := client.CallResult(context.Background(), "getHealth", nil, &result) if err == nil { if result.Status == "healthy" { @@ -258,7 +258,7 @@ func (i *Test) waitForRPC() { buf := make([]byte, 1<<16) stackSize := runtime.Stack(buf, true) log.Printf("%s\n", string(buf[0:stackSize])) - i.t.Fatal("RPC failed to get healthy in 30 seconds") + i.t.Fatal("RPC failed to get healthy in 120 seconds") } func (i *Test) createRPCContainerMountDir(rpcConfig map[string]string) string {