[
https://issues.apache.org/jira/browse/PHOENIX-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633858#comment-14633858
]
ramkrishna.s.vasudevan commented on PHOENIX-2129:
-------------------------------------------------
{code}
Running org.apache.phoenix.expression.ArrayToStringFunctionTest
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.499 sec - in
org.apache.phoenix.expression.ArrayToStringFunctionTest
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Results :
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
{code}
The test case seems to pass now. I removed the @Ignore tag also. will commit
it now.
> Fix ArrayToStringFunctionTest#testDate
> --------------------------------------
>
> Key: PHOENIX-2129
> URL: https://issues.apache.org/jira/browse/PHOENIX-2129
> Project: Phoenix
> Issue Type: Test
> Reporter: Samarth Jain
> Assignee: Dumindu Buddhika
> Attachments: PHOENIX-2129.patch
>
>
> ArrayToStringFunctionTest#testDate is failing:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)