[
https://issues.apache.org/jira/browse/DERBY-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lily Wei updated DERBY-4806:
----------------------------
Attachment: DERBY-4806-1.diff
Even though derbyTesting.jar is not in the same directory as derbyrun.jar,
Main.useme should still use trysomeclasspath(..) and use trymyClassPath to find
the right derbyTesting.jar which should print similar message as the following:
$ sysinfo -cp org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckT
est.class
FOUND IN CLASS PATH:
user-specified class (org.apache.derbyTesting.functionTests.tests.tools.Sysin
foCPCheckTest)
C:\derby3\trunk\testjar\derbyTesting.jar
SUCCESS: All Derby related classes found in class path.
If we got 'SUCCESS: All Derby related classes found in class path.', we have no
JIRA-4806. And, when trace inside the debugger with single SysinfoCPCheckTest
test, this is exactly what happened. Main.trymyclassPath(...) with
org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.class
return SUCCESS:All Derby related classes found in class path. However, somehow,
when running tools._Suite, the result will have failure on
org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest not found.
Print out anything in Main.formatURL or Main.trymyclassPath will result in
SysinfoCPCheckTest failure cause unexpected string from` Sysinfo -cp
org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.class`.
Any other way on print out more meaningful tracing information will be helpful.
Originally, I though due to taking out db2driver (db2jcc.jar) change which
change the overall output and cause this to happen. So, I make the necessary
change to clean up jcc related test DERBY-4806-1.diff patch. Please review the
changes.
However, this patch is still getting the same failure if derbyTesting.jar is in
different directory than derbyrun.jar.
> SysinfoCPCheckTest fail on different Windows platforms on 10.6.2.0 release
> candidate
> -------------------------------------------------------------------------------------
>
> Key: DERBY-4806
> URL: https://issues.apache.org/jira/browse/DERBY-4806
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.6.1.0
> Environment: Windows
> Reporter: Lily Wei
> Priority: Minor
> Attachments: DERBY-4806-1.diff, rjall.out
>
>
> For the preliminary platform testing [1] Kathey, Dag and Lily
> have seen SysinfoCPCheckTest fail on different Windows platforms(XP and
> Windows 7) when
> run as part of suitesAll.
> [1] http://wiki.apache.org/db-derby/TenSixTwoPlatformTesting
> Thanks to Myrna points out that it could relate to DERBY-3771.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.