我是想在我们的项目中使用DbUnit和正在运行到一个问题。想知道你是否能够提供帮助。 使用@ExpectedDatabase(“file.xml”)的注释,并且在处理该林,林在这个执行点: at org.dbunit.database.DatabaseDataSet.getTableMetaData(DatabaseDataSet.java:295)
at org.dbunit.database
如果我跑我所有的JUnit测试案例在一次(〜300)我得到以下异常: org.postgresql.util.PSQLException: FATAL: sorry, too many clients already
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl
在运行基于DBUnit的JUnit测试情况下,我得到以下异常: java.lang.RuntimeException: Invoking the beforeTestMethod method on PowerMock test listener [email protected] failed.
at org.powermock.tests.utils.impl.PowerMockTe