You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Chris Male (JIRA)" <ji...@apache.org> on 2010/03/14 23:19:27 UTC
[jira] Created: (SOLR-1821) Failing testGetDateFormatEvaluator in
TestEvaluatorBag
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.
[jira] Resolved: (SOLR-1821) Failing testGetDateFormatEvaluator in
TestEvaluatorBag
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (SOLR-1821) Failing testGetDateFormatEvaluator in
TestEvaluatorBag
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir reassigned SOLR-1821:
---------------------------------
Assignee: Robert Muir
> 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
> 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.
[jira] Commented: (SOLR-1821) Failing testGetDateFormatEvaluator in
TestEvaluatorBag
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845144#action_12845144 ]
Robert Muir commented on SOLR-1821:
-----------------------------------
Nice, fixes the issue.
Can you commit this? It would help us in our current work to ensure we are not breaking tests.
> 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
> 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.
[jira] Updated: (SOLR-1821) Failing testGetDateFormatEvaluator in
TestEvaluatorBag
Posted by "Chris Male (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Male updated SOLR-1821:
-----------------------------
Attachment: SOLR-1821.patch
Attaching a patch to the test which uses GregorianCalendar instances rather than the current System ticks.
> 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
> 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.