You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2008/11/17 22:38:44 UTC
[jira] Commented: (DERBY-1840) lang/TimeHandling.junit test fails
on jdk13 vms
[ https://issues.apache.org/jira/browse/DERBY-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648355#action_12648355 ]
Myrna van Lunteren commented on DERBY-1840:
-------------------------------------------
I actually saw this fail just this weekend in a 10.2 regression run...
Maybe we can add a check somewhere in the 10.2 test.
> lang/TimeHandling.junit test fails on jdk13 vms
> -----------------------------------------------
>
> Key: DERBY-1840
> URL: https://issues.apache.org/jira/browse/DERBY-1840
> Project: Derby
> Issue Type: Test
> Components: Regression Test Failure
> Reporter: Deepa Remesh
> Priority: Minor
>
> This test fails on IBM and Sun jdk13. Failure details:
> 1) testCurrentTimestamp(org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest)junit.framework.AssertionFailedError: expected:<684> but was:<0>
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.assertTimeEqual(TimeHandlingTest.java:786)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.checkTimestampValue(TimeHandlingTest.java:588)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.checkCurrentTimestampValue(TimeHandlingTest.java:660)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.checkCurrentTimestampMultiple(TimeHandlingTest.java:455)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.checkCurrentMultiple(TimeHandlingTest.java:388)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.checkCurrentQuery(TimeHandlingTest.java:362)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.currentFunctionTests(TimeHandlingTest.java:174)
> at org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest.testCurrentTimestamp(TimeHandlingTest.java:152)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76)
> 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)
> The test fails when comparing the millisecond value from java.sql.Time and Timestamp objects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.