lang/TimeHandling.junit test fails on jdk13 vms
-----------------------------------------------

                 Key: DERBY-1840
                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to