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

Robert Muir resolved SOLR-1821.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Committed revision 922991. 

Thanks Chris!

> Failing testGetDateFormatEvaluator in TestEvaluatorBag
> ------------------------------------------------------
>
>                 Key: SOLR-1821
>                 URL: https://issues.apache.org/jira/browse/SOLR-1821
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.5
>            Reporter: Chris Male
>            Assignee: Robert Muir
>             Fix For: 1.5
>
>         Attachments: SOLR-1821.patch
>
>
> On some TimeZones (such as EDT currently), 
> TestEvaluatorBag.testGetDateFormatEvaluator fails with the following error:
> {code:xml}
> org.junit.ComparisonFailure: 
> Expected :2010-03-12 17:15
> Actual   :2010-03-12 18:15
>       at org.junit.Assert.assertEquals(Assert.java:96)
>       at org.junit.Assert.assertEquals(Assert.java:116)
>       at 
> org.apache.solr.handler.dataimport.TestEvaluatorBag.testGetDateFormatEvaluator(TestEvaluatorBag.java:127)
> {code}
> This seems due to the reliance on the System ticks in order to create the 
> Date to compare against.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to