You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2007/05/18 00:13:16 UTC
[jira] Created: (DERBY-2664)
org.apache.derbyTesting.functionTests.tests.store._Suite cannot be run on
it's own
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.
[jira] Closed: (DERBY-2664)
org.apache.derbyTesting.functionTests.tests.store._Suite cannot be run on
it's own
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden closed DERBY-2664.
---------------------------------
Resolution: Fixed
Verified that store._Suite can now be run stand alone.
> 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.1.4
> 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.
[jira] Commented: (DERBY-2664)
org.apache.derbyTesting.functionTests.tests.store._Suite cannot be run on
it's own
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ 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.