From 313562a0fb79e6cbde6502d43d21ab87037f31b5 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sat, 14 Apr 2018 21:46:24 -0500 Subject: [PATCH] server: Increase number of active connections on postgres tests --- .../com/xsn/explorer/data/common/DockerPostgresService.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/server/test/com/xsn/explorer/data/common/DockerPostgresService.scala b/server/test/com/xsn/explorer/data/common/DockerPostgresService.scala index db146ca..a49b7ce 100644 --- a/server/test/com/xsn/explorer/data/common/DockerPostgresService.scala +++ b/server/test/com/xsn/explorer/data/common/DockerPostgresService.scala @@ -13,6 +13,7 @@ trait DockerPostgresService extends DockerKit { import scala.concurrent.duration._ val postgresContainer = DockerContainer(PostgresImage) + .withCommand("-N 500") .withPorts((PostgresAdvertisedPort, Some(PostgresExposedPort))) .withEnv(s"POSTGRES_USER=$PostgresUsername", s"POSTGRES_PASSWORD=$PostgresPassword") .withReadyChecker(