[
https://issues.apache.org/jira/browse/DERBY-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068261#comment-13068261
]
Knut Anders Hatlen commented on DERBY-5346:
-------------------------------------------
When ij3 was converted to JUnit, the code that set ij.dataSource.databaseName
and ij.dataSource.createDatabase was skipped because ij.dataSource wasn't set,
and those two properties have no effect unless ij.dataSource is set. However,
the instructions for running test suites in the old harness on CDC/Foundation
say that the ij.dataSource property should be set explicitly on the command
line, so the properties are in fact used on that platform. Setting those
properties in the test made the test output the same on phoneME.
> ij3Test fails on phoneME
> ------------------------
>
> Key: DERBY-5346
> URL: https://issues.apache.org/jira/browse/DERBY-5346
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.9.0.0
> Environment: phoneME
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
>
> org.apache.derbyTesting.functionTests.tests.tools.ij3Test.ij3 (from
> org.apache.derbyTesting.functionTests.suites.All)
> junit.framework.ComparisonFailure: Output at line 1
> expected:<ij[(CONNECTION1)]> --> but was:<ij[]> -->
> at
> org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(Unknown
> Source)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source)
> at junit.extensions.TestDecorator.basicRun(Unknown Source)
> at junit.extensions.TestSetup$1.protect(Unknown Source)
> at junit.extensions.TestSetup.run(Unknown Source)
> at junit.extensions.TestDecorator.basicRun(Unknown Source)
> at junit.extensions.TestSetup$1.protect(Unknown Source)
> at junit.extensions.TestSetup.run(Unknown Source)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source)
> at sun.misc.CVM.runMain(Unknown Source)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira