lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1821) Failing testGetDateFormatEvaluator in TestEvaluatorBag
Date Sun, 14 Mar 2010 22:19:27 GMT
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


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.


Mime
View raw message