From 309c4b0066a8c20b90bd9b9129482cd7fa4e5ba5 Mon Sep 17 00:00:00 2001 From: Matthew Piggott Date: Thu, 30 Mar 2023 13:42:46 -0400 Subject: [PATCH] Public export of Nexus code: - cfd3d6e25777c92c5606dc3147136c22fe66e704 by Matthew Piggott GitOrigin-RevId: cfd3d6e25777c92c5606dc3147136c22fe66e704 --- .../java/org/sonatype/nexus/pax/exam/NexusPaxExamSupport.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/nexus-pax-exam/src/main/java/org/sonatype/nexus/pax/exam/NexusPaxExamSupport.java b/components/nexus-pax-exam/src/main/java/org/sonatype/nexus/pax/exam/NexusPaxExamSupport.java index ce355d0b08..6c42e5a3bd 100644 --- a/components/nexus-pax-exam/src/main/java/org/sonatype/nexus/pax/exam/NexusPaxExamSupport.java +++ b/components/nexus-pax-exam/src/main/java/org/sonatype/nexus/pax/exam/NexusPaxExamSupport.java @@ -535,6 +535,7 @@ protected static Option[] configureDatabase() { .withEnv("POSTGRES_USER", DB_USER) .withEnv("POSTGRES_PASSWORD", DB_PASSWORD) .withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger(NexusPaxExamSupport.class))) + .withCommand("postgres", "-c", "max_connections=60") .withClasspathResourceMapping("initialize-postgres.sql", "/docker-entrypoint-initdb.d/initialize-postgres.sql", READ_ONLY) .waitingFor(Wait.forLogMessage(".*database system is ready to accept connections.*", 1)); return combine(null,