On 11/5/14 9:59 PM, Mamta Satoor wrote:
Couple tests have been failing on Oracle runs with stack trace similar
to following for Linux_ia32_jdk9 on trunk with revision
1636798(http://download.java.net/javadesktop/derby/request_5598704/javadb-task-3963716.html).
The errors do not occur with other jdks. Wondering if anyone has any
ideas behind these failures?
13128
org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest42.test_01_setObject
0.596 s
junit.framework.AssertionFailedError: Clobs differ at index 3
expected:<55> but was:<54>
at
org.apache.derbyTesting.junit.BaseJDBCTestCase.assertEquals(BaseJDBCTestCase.java:820)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest42.assertObjectEquals(PreparedStatementTest42.java:944)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest42.vetTable(PreparedStatementTest42.java:436)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest42.updateColumns(PreparedStatementTest42.java:381)
at
org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest42.test_01_setObject(PreparedStatementTest42.java:208)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
at
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
at
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
On Wed, Nov 5, 2014 at 6:41 PM, <[email protected]
<mailto:[email protected]>> wrote:
Java DB testing and reporting infrastructure.
Error nightly trunk (rev 1636798)
There were execution errors and/or timeouts.
There were at least 4 failures.
Test report:
http://download.java.net/javadesktop/derby/request_5598704
Hi Mamta,
These are all errors involving attempts to get/set CLOB values using the
SQLType overloads of get/setObject(). I don't know why these tests are
breaking on Linux_ia32_jdk9 and only on that platform.
Thanks,
-Rick