[ 
https://issues.apache.org/jira/browse/SOLR-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831639#comment-13831639
 ] 

Steven Bower commented on SOLR-5488:
------------------------------------

Same for functions test.. input file had errors in it.. although it fails still 
after the change.. the failure is similar to the NoFacet one... when I do the 
Double.doubleToRawLongBits the numbers are the same (and assert true on the 
long bits works but not the double values...

{noformat}
Index: solr/core/src/test-files/analytics/requestFiles/functions.txt
===================================================================
--- solr/core/src/test-files/analytics/requestFiles/functions.txt       
(revision 1545323)
+++ solr/core/src/test-files/analytics/requestFiles/functions.txt       
(working copy)
@@ -23,10 +23,10 @@
 o.nr.s.mean=mean(neg(long_ld))
 o.nr.s.meanc=mean(neg_l_dd)
 
-o.nr.s.sum=sum(abs(neg(int_id)))
-o.nr.s.sumc=sum(int_id)
-o.nr.s.mean=mean(abs(neg(long_ld)))
-o.nr.s.meanc=mean(int_id)
+o.avr.s.sum=sum(abs(neg(int_id)))
+o.avr.s.sumc=sum(int_id)
+o.avr.s.mean=mean(abs(neg(long_ld)))
+o.avr.s.meanc=mean(int_id)
 
 o.cnr.s.sum=sum(const_num(8))
 o.cnr.s.sumc=sum(const_8_dd)
{noformat}

> Fix up test failures for Analytics Component
> --------------------------------------------
>
>                 Key: SOLR-5488
>                 URL: https://issues.apache.org/jira/browse/SOLR-5488
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0, 4.7
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-5488.patch, SOLR-5488.patch
>
>
> The analytics component has a few test failures, perhaps 
> environment-dependent. This is just to collect the test fixes in one place 
> for convenience when we merge back into 4.x



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to