Commit b6a31a21fd01387430aea45da2f8a1a616c96371
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
pom.xml
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 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
4 | 4 | http://maven.apache.org/maven-v4_0_0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
... | ... | @@ -22,6 +22,7 @@ |
22 | 22 | <dependency> |
23 | 23 | <groupId>com.h2database</groupId> |
24 | 24 | <artifactId>h2</artifactId> |
25 | + <scope>runtime</scope> | |
25 | 26 | </dependency> |
26 | 27 | <dependency> |
27 | 28 | <groupId>org.springframework.boot</groupId> | ... | ... |
src/test/resources/application.properties
1 | 1 | logging.level.org.springframework=INFO |
2 | 2 | logging.level.org.hibernate.SQL=DEBUG |
3 | 3 | logging.level.org.hibernate=INFO |
4 | -spring.datasource.url=jdbc:h2:mem:persistence;TRACE_LEVEL_FILE=4 | |
5 | 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 | 7 | \ No newline at end of file | ... | ... |