[
https://issues.apache.org/jira/browse/DERBY-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503099
]
Kristian Waagan commented on DERBY-2664:
----------------------------------------
I tried running the store._Suite on Windows XP in Cygwin, and it runs 6 tests
without any failures.
Has the reported problem already been fixed?
I ran the suite like this:
$ java -classpath "../classes;../tools/java/junit.jar" junit.textui.TestRunner
org.apache.derbyTesting.functionTests.tests.store._Suite
......
Time: 33,703
OK (6 tests)
I also tried running them with jars. The build happened to be insane.
> org.apache.derbyTesting.functionTests.tests.store._Suite cannot be run on
> it's own
> ----------------------------------------------------------------------------------
>
> Key: DERBY-2664
> URL: https://issues.apache.org/jira/browse/DERBY-2664
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.3.0.0
> Reporter: Kathey Marsden
>
> The store _Suite seems to require other tests be run first. It fails with
> No suitable Driver errors. It should be runnable on its own.
> 3)
> createShutdownDatabase(org.apache.derbyTesting.functionTests.tests.store.BootAllTest)java.sql.SQLException:
> No suitable driver
> at java.sql.DriverManager.getConnection(DriverManager.java:579)
> at java.sql.DriverManager.getConnection(DriverManager.java:158)
> at
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:99)
> at
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:46)
> at
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:958)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.openDefaultConnection(BaseJDBCTestCase.java:255)
> at
> org.apache.derbyTesting.junit.BaseJDBCTestCase.getConnection(BaseJDBCTestCase.java:92)
> at
> org.apache.derbyTesting.functionTests.tests.store.BootAllTest.createShutdownDatabase(BootAllTest.java:111)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.