Feature make mysql testdb as testexecutionlistener (#557)

* make CIMySqlTestDatabase as TestExecutionListener for spring

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>

* re-order MySqlTestDatabase to the end of the execution listeners

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>

* remove property to disable autocommit

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>

* commit connection when dropping creating schema

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>

* re-name test execution listener for mysql and write javadoc

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
Michael Hirsch
2017-07-06 15:55:15 +02:00
committed by GitHub
parent 32f6827a79
commit 8c82a18994
4 changed files with 29 additions and 66 deletions

View File

@@ -10,7 +10,6 @@
### JPA / Datasource - START
spring.jpa.database=H2
spring.jpa.show-sql=false
spring.datasource.tomcat.defaultAutoCommit=false
# Logging
spring.datasource.eclipselink.logging.logger=JavaLogger
spring.jpa.properties.eclipselink.logging.level=off