我是想在我們的項目中使用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