db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houx Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5374) 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.>
Date Sun, 07 Aug 2011 14:04:27 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080578#comment-13080578
] 

Houx Zhang commented on DERBY-5374:
-----------------------------------

Then, for ij5Test, a JDBC.vmSupportsJSR169() should be added to avoid it run on j2me.

Hi, Myrna, you've said "I did see another test failure in the ij5 test on my machine though:
", What machine did you run on, please? Is it j2me or a common pc platform?



> 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

        

Mime
View raw message