From b6a31a21fd01387430aea45da2f8a1a616c96371 Mon Sep 17 00:00:00 2001 From: jcartign Date: Thu, 22 Sep 2016 17:54:38 +0200 Subject: [PATCH] Fix test block by increasing max active connections in jdbc tomcat pool --- pom.xml | 5 +++-- src/test/resources/application.properties | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 280ff9d..889b758 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ - 4.0.0 @@ -22,6 +22,7 @@ com.h2database h2 + runtime org.springframework.boot diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index 6901e9c..1e0b967 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -1,4 +1,5 @@ logging.level.org.springframework=INFO logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate=INFO -spring.datasource.url=jdbc:h2:mem:persistence;TRACE_LEVEL_FILE=4 \ No newline at end of file +spring.datasource.url=jdbc:h2:mem:persistence;TRACE_LEVEL_FILE=4; +spring.datasource.maxActive=300 \ No newline at end of file -- libgit2 0.21.2