[
https://issues.apache.org/jira/browse/DERBY-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529929
]
Myrna van Lunteren commented on DERBY-3082:
-------------------------------------------
This is the contents of CONNSTRING_FORMAT (both on my pc & on the iseries
machine, both with ibm's jdk14) is:
[EMAIL PROTECTED] \(XID = .*\), \(SESSIONID = [0-9]+\), \(DATABASE =
[A-Za-z]+\), \(DRDAID = .*\)
The (last before Failing) str value on iseries is:
[EMAIL PROTECTED] (XID = 223), (SESSIONID = 4), (DATABASE = wombat), (DRDAID =
null)
On my pc, the value at the same point in the test is:
[EMAIL PROTECTED] (XID = 223), (SESSIONID = 4), (DATABASE = wombat), (DRDAID =
null)
I think maybe the negative value after the @ may be the trouble, in which case,
this would be a test issue. Assuming that value is allowed to be negative? I'll
pursue this angle.
> DataSourceTest fixture testAllDataSources fails with AssertionFailedError
> through assertStringFormat on IBM iseries
> -------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-3082
> URL: https://issues.apache.org/jira/browse/DERBY-3082
> Project: Derby
> Issue Type: Bug
> Affects Versions: 10.3.1.4
> Environment: IBM iseries, OS: V5R4M0; both with ibm 142 (build
> 1.4.2_08-b02) and 15 jvm (build 1.5.0_03-b07)
> Reporter: Myrna van Lunteren
>
> The test DataSourcesTest fails as follows on IBM iseries:
> 1)
> testAllDataSources(org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceTest)junit.framework.AssertionFailedError
> at java.lang.Throwable.<init>(Throwable.java:195)
> at java.lang.Error.<init>(Error.java:49)
> at
> junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> at
> org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceTest.assertStringFormat(DataSourceTest.java:2914)
> at
> org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceTest.assertToString(DataSourceTest.java:2883)
> at
> org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceTest.assertTenConnectionsUnique(DataSourceTest.java:2982)
> at
> org.apache.derbyTesting.functionTests.tests.jdbcapi.DataSourceTest.testAllDataSources(DataSourceTest.java:228)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
> 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.