Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main] WARN net.jakubholy.dbunitexpress.assertion.RowComparator - initResultTableAndColumns: Failed to access the connection/metadata and thus will not be able to instantiate the appropriate ExceptionInterpreter.
- org.dbunit.DatabaseUnitRuntimeException: Failed to connect to the test database, it seems it hasn't been created yet - check the detailed failure stack trace. You can create the DB by executing class net.jakubholy.dbunitexpress.DatabaseCreator.main(..).
- at net.jakubholy.dbunitexpress.EmbeddedDbTester$QualifiedNamesPropertiesTester.getConnection(EmbeddedDbTester.java:435)
- at net.jakubholy.dbunitexpress.impl.EnhancedDatabaseTesterDecorator.getConnection(EnhancedDatabaseTesterDecorator.java:166)
- at net.jakubholy.dbunitexpress.assertion.RowComparator.initResultTableAndColumns(RowComparator.java:140)
- at net.jakubholy.dbunitexpress.assertion.RowComparator.<init>(RowComparator.java:108)
- at net.jakubholy.dbunitexpress.EmbeddedDbTester.createCheckerForSelect(EmbeddedDbTester.java:690)
- at net.jakubholy.dbunitexpress.EmbeddedDbTester.onSetup(EmbeddedDbTester.java:730)
- at net.jakubholy.dbunitexpress.EmbeddedDbTesterRule$DbInitializer.before(EmbeddedDbTesterRule.java:40)
- at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
- at org.junit.rules.RunRules.evaluate(RunRules.java:20)
- at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:267)
- at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
- at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
- at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
- at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
- at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:193)
- at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:345)
- at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:49)
- at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:207)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
- at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:155)
- at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
- at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
- at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:483)
- at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
- at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
- at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
- at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
- at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
- Caused by: java.sql.SQLException: Database 'target/testDB' not found.
- at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
- at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
- at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
- at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
- at java.sql.DriverManager.getConnection(DriverManager.java:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:247)
- at org.dbunit.JdbcDatabaseTester.getConnection(JdbcDatabaseTester.java:116)
- at net.jakubholy.dbunitexpress.EmbeddedDbTester$QualifiedNamesPropertiesTester.getConnection(EmbeddedDbTester.java:427)
- ... 35 more
- Caused by: java.sql.SQLException: Database 'target/testDB' not found.
- at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
- ... 51 more
- [main] INFO net.jakubholy.dbunitexpress.EmbeddedDbTester - Going to automatically create the test database ...
- [main] INFO net.jakubholy.dbunitexpress.EmbeddedDbTester - Loading test DB configuration from file:/Users/matzew/Work/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement