db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6755) Error in MathTrigFunctionsTest.testRadians
Date Fri, 03 Oct 2014 16:31:33 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-6755:
---------------------------------
    Attachment: derby-6755-01-aa-java9diff.diff

Attaching derby-6755-01-aa-java9diff.diff. This patch makes the test sensitive to the difference
between Java 9 and older versions of Java.

Touches the following files:

M       java/testing/org/apache/derbyTesting/functionTests/tests/lang/MathTrigFunctionsTest.java
M       java/testing/org/apache/derbyTesting/junit/BaseTestCase.java


> Error in MathTrigFunctionsTest.testRadians 
> -------------------------------------------
>
>                 Key: DERBY-6755
>                 URL: https://issues.apache.org/jira/browse/DERBY-6755
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.2.1, 10.11.1.2, 10.12.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-6755-01-aa-java9diff.diff
>
>
> The following error was seen in the nightly tests. It seems to affect all branches and
it appears to be a regression in the latest promoted build of JDK 9 (https://bugs.openjdk.java.net/browse/JDK-8059674).
See http://sthjavadb01.se.oracle.com/javadb-testing/request_5597089/
> {noformat}
>     junit.framework.AssertionFailedError: expected:<3.88335758568738E-309> but
was:<3.883357585687384E-309>
> 	at org.apache.derbyTesting.functionTests.tests.lang.MathTrigFunctionsTest.testRadians(MathTrigFunctionsTest.java:585)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
> 	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:57)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message