Commit b6a31a21fd01387430aea45da2f8a1a616c96371

Authored by jcartign
1 parent b26b2e12

Fix test block by increasing max active connections in jdbc tomcat pool

Showing 2 changed files with 5 additions and 3 deletions   Show diff stats
1 -<project xmlns="http://maven.apache.org/POM/4.0.0"  
2 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 1 +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2 + xmlns="http://maven.apache.org/POM/4.0.0"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4 http://maven.apache.org/maven-v4_0_0.xsd"> 4 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion> 5 <modelVersion>4.0.0</modelVersion>
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
22 <dependency> 22 <dependency>
23 <groupId>com.h2database</groupId> 23 <groupId>com.h2database</groupId>
24 <artifactId>h2</artifactId> 24 <artifactId>h2</artifactId>
  25 + <scope>runtime</scope>
25 </dependency> 26 </dependency>
26 <dependency> 27 <dependency>
27 <groupId>org.springframework.boot</groupId> 28 <groupId>org.springframework.boot</groupId>
src/test/resources/application.properties
1 logging.level.org.springframework=INFO 1 logging.level.org.springframework=INFO
2 logging.level.org.hibernate.SQL=DEBUG 2 logging.level.org.hibernate.SQL=DEBUG
3 logging.level.org.hibernate=INFO 3 logging.level.org.hibernate=INFO
4 -spring.datasource.url=jdbc:h2:mem:persistence;TRACE_LEVEL_FILE=4  
5 \ No newline at end of file 4 \ No newline at end of file
  5 +spring.datasource.url=jdbc:h2:mem:persistence;TRACE_LEVEL_FILE=4;
  6 +spring.datasource.maxActive=300
6 \ No newline at end of file 7 \ No newline at end of file