[
https://issues.apache.org/jira/browse/DERBY-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079729#comment-13079729
]
Myrna van Lunteren commented on DERBY-5374:
-------------------------------------------
I was hoping the same thing, but I cannot reproduce the test failure on my
machine.
I did see another test failure in the ij5 test on my machine though:
1)
ij5(org.apache.derbyTesting.functionTests.tests.tools.ij5Test)java.lang.NoSuchMethodError:
java/sql/DatabaseMetaData.getURL()Ljava/lang/String;
at org.apache.derby.impl.tools.ij.ij.showConnectionsMethod(Unknown
Source)
at org.apache.derby.impl.tools.ij.utilMain.supportIJProperties(Unknown
Source)
at org.apache.derby.impl.tools.ij.utilMain.goScript(Unknown Source)
at org.apache.derby.tools.ij.runScript(Unknown Source)
at
org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:191)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
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
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
I will look at that more closely too, but I did notice that the old ij5.sql
test did not run with foundation profile, for it had this in ij5_app.properties:
#Exclude for J2ME/Foundation - test requires java.sql.Driver
runwithfoundation=false
> converted ij5Test fails with weme6.2 (CDC/Foundation):
> junit.framework.ComparisonFailure: Output at line 1 expected:<CONNECTION0* -
> jdbc:derby:wombat> but was:<ERROR XJ004: Database '' not found.>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-5374
> URL: https://issues.apache.org/jira/browse/DERBY-5374
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Environment: windows XP, with weme6.2 (IBM's CDC/Foundation
> implementation)
> Reporter: Myrna van Lunteren
>
> The newly converted (to junit) test ij5Test fails with weme 6.2:
> ij5(org.apache.derbyTesting.functionTests.tests.tools.ij5Test)junit.framework.ComparisonFailure:
> Output at line 1 expected:<CONNECTION0* - jdbc:derby:wombat> but
> was:<ERROR XJ004: Database '' not found.>
> 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:109)
> at
> org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:204)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 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
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> This is likely a similar problem as described in DERBY-5373 (re
> importExportIJ).
> see also (until cleaned up at some point in the future):
> http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/weme6.2/1152992-suites.All_diff.txt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira