ppodgorsek / spring-test-dbunit

Integration between the Spring testing framework and DBUnit
Apache License 2.0
41 stars 6 forks source link

why afterTestMethod close all connection? #139

Open wuzhiwei18 opened 5 years ago

wuzhiwei18 commented 5 years ago

DbUnitRunner.java:103 testContext.getConnections().closeAll(); when i test again, Error: org.dbunit.DatabaseUnitException: Exception processing table name='my_table', Caused by: java.sql.SQLException: connection holder is null

wuzhiwei18 commented 5 years ago

https://stackoverflow.com/questions/31720835/spring-dbunit-closes-connection-after-one-test