From 5f2e257bc112508d97fd746d30ca0680545384ac Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 3 May 2022 15:06:04 +0200 Subject: [PATCH] Conservatively limit the number of DB connections of integration tests --- services/horizon/internal/test/integration/integration.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/horizon/internal/test/integration/integration.go b/services/horizon/internal/test/integration/integration.go index 2ec19226e2..0c675ac4a1 100644 --- a/services/horizon/internal/test/integration/integration.go +++ b/services/horizon/internal/test/integration/integration.go @@ -337,7 +337,8 @@ func (i *Test) StartHorizon() error { "port": "8000", // due to ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING "checkpoint-frequency": "8", - "per-hour-rate-limit": "0", // disable rate limiting + "per-hour-rate-limit": "0", // disable rate limiting + "max-db-connections": "50", // the postgres container supports 100 connections, be conservative } merged := MergeMaps(defaultArgs, i.config.HorizonParameters)