Derby
  1. Derby
  2. DERBY-2447

ejbql and floattypes in org.apache.derbyTesting.functionTests.tests.lang.LangScripts intermittently fails with 'expected:<[0.0 ] > but was:<[-0.0] '

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.5.2.0, 10.6.1.0
    • Component/s: SQL
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Regression Test Failure

      Description

      Seen intermittently on Linux since 2007-02-27.
      Seen on Solaris 2007-03-12.

      <signature>
      ejbql(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure: Output at line 454 expected:<[0.0 ] > but was:<[-0.0] >
      at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
      at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:80)
      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)
      </signature>

      <signature>
      floattypes(org.apache.derbyTesting.functionTests.tests.lang.LangScripts)junit.framework.ComparisonFailure: Output at line 1823 expected:<[0.0 ] > but was:<[-0.0] >
      at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
      at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(ScriptTestCase.java:124)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:80)
      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)
      </signature>

      1. d2447.diff
        6 kB
        Knut Anders Hatlen
      2. negative-zero.diff
        2 kB
        Knut Anders Hatlen
      3. Normalize.java
        0.5 kB
        Knut Anders Hatlen

        Activity

        Gavin made changes -
        Workflow jira [ 12399411 ] Default workflow, editable Closed status [ 12800677 ]
        Kathey Marsden made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Fix Version/s 10.5.2.0 [ 12314116 ]
        Fix Version/s 10.5.1.2 [ 12313870 ]
        Dag H. Wanvik made changes -
        Component/s Regression Test Failure [ 12310664 ]
        Dag H. Wanvik made changes -
        Derby Categories [Regression Test Failure]
        Knut Anders Hatlen made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 10.5.1.2 [ 12313870 ]
        Fix Version/s 10.6.0.0 [ 12313727 ]
        Resolution Fixed [ 1 ]
        Knut Anders Hatlen made changes -
        Attachment d2447.diff [ 12407344 ]
        Knut Anders Hatlen made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Derby Info [Patch Available]
        Component/s SQL [ 11408 ]
        Knut Anders Hatlen made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Knut Anders Hatlen made changes -
        Derby Info [Patch Available]
        Knut Anders Hatlen made changes -
        Assignee Knut Anders Hatlen [ knutanders ]
        Knut Anders Hatlen made changes -
        Attachment negative-zero.diff [ 12406259 ]
        Knut Anders Hatlen made changes -
        Attachment Normalize.java [ 12406230 ]
        Kathey Marsden made changes -
        Derby Info [Regression]
        Mike Matrigali made changes -
        Field Original Value New Value
        Component/s Regression Test Failure [ 12310664 ]
        Ole Solberg created issue -

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Ole Solberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development