[
https://issues.apache.org/jira/browse/DERBY-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-4570:
---------------------------------
Component/s: (was: Tools)
Test
Changing the category of this bug to Test. The problem is that the new tests
are making a new connection to the database. This causes ij to invoke
DriverManager.getConnection(), which you can't do on a small device.
> test failure in ij7 with cdc foundation profile (ibm's weme6.2)
> ---------------------------------------------------------------
>
> Key: DERBY-4570
> URL: https://issues.apache.org/jira/browse/DERBY-4570
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.6.0.0
> Environment: cdc foundation profile from ibm's weme6.2
> Reporter: Myrna van Lunteren
>
> I see the following test failure, which looks like somehow we're calling
> java.sql.Driver when that class is not available with the foundation profile.
> This I think is related to the changes to ij:
> ------------------------------------------------------------------------
> r916014 | rhillegas | 2010-02-24 14:39:49 -0800 (Wed, 24 Feb 2010) | 1 line
> DERBY-4550: Commit Sylvain Leroux's patch which adds qualified identifiers to
> ij.
> ------------------------------------------------------------------------
> I've not investigated further, perhaps this is a test issue after all, but I
> marked it tools for now.
> This is the output from suites.All:
> 1)
> ij7(org.apache.derbyTesting.functionTests.tests.tools.ToolScripts)junit.framework.ComparisonFailure:
> Output at line 250 expected:<ij(DERBY4550_1)> create table t1(a int, b
> int);> but was:<JAVA ERROR: java.lang.NoClassDefFoundError: java.sql.Driver>
> at
> junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> at junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:19)
> at
> org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:106)
> at
> org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:198)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 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
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.