Browse Source

server: Increase number of active connections on postgres tests

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
313562a0fb
  1. 1
      server/test/com/xsn/explorer/data/common/DockerPostgresService.scala

1
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(

Loading…
Cancel
Save