Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2129

Fix ArrayToStringFunctionTest#testDate

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0
    • Labels:
      None

      Description

      ArrayToStringFunctionTest#testDate is failing:

      org.junit.ComparisonFailure: expected:<19[70-01-01, 1970-01-01, 1970-01-0]1> but was:<19[69-12-31, 1969-12-31, 1969-12-3]1>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.phoenix.expression.ArrayToStringFunctionTest.testExpression(ArrayToStringFunctionTest.java:50)
      	at org.apache.phoenix.expression.ArrayToStringFunctionTest.test(ArrayToStringFunctionTest.java:58)
      	at org.apache.phoenix.expression.ArrayToStringFunctionTest.testDate(ArrayToStringFunctionTest.java:147)
      
      

        Attachments

        1. PHOENIX-2129.patch
          1 kB
          Dumindu Buddhika
        2. PHOENIX-2129_1.patch
          1 kB
          ramkrishna.s.vasudevan

          Activity

            People

            • Assignee:
              Dumindux Dumindu Buddhika
              Reporter:
              samarthjain Samarth Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: