lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5488) Fix up test failures for Analytics Component
Date Sat, 23 Nov 2013 17:52:36 GMT

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

Dawid Weiss commented on SOLR-5488:
-----------------------------------

>From a quick debug session the problem is that it doesn't make sense? :) 

This line in the test:
{code}
    //Float
    Double floatResult = (Double)getStatResult(response, "str", "double", "float_fd");
{code}

matches an invalid value. The response object is:

{code}
<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">184</int>
</lst>
<result name="response" numFound="100" start="0">
</result>
<lst name="stats">
  <lst name="st">
    <double name="float_fd">27.722251342412257</double>
  </lst>
  <lst name="mr">
    <double name="double_dd">24.257731958762886</double>
    <double name="float_fd">43.86734693877551</double>
    <double name="int_id">29.5</double>
    <double name="long_ld">16.88659793814433</double>
  </lst>
  <lst name="medr">
    <date name="date_dtd">1806-12-31T23:59:59Z</date>
    <double name="double_dd">24.0</double>
    <double name="float_fd">43.5</double>
    <double name="int_id">25.0</double>
    <double name="long_ld">17.0</double>
  </lst>
  <lst name="p6r">
    <date name="date_dtd">1807-12-31T23:59:59Z</date>
    <double name="double_dd">29.0</double>
    <float name="float_fd">53.0</float>
    <int name="int_id">31</int>
    <long name="long_ld">20</long>
    <str name="string_sd">str24</str>
  </lst>
  <lst name="cr">
    <long name="date_dtd">91</long>
    <long name="double_dd">97</long>
    <long name="float_fd">98</long>
    <long name="int_id">98</long>
    <long name="long_ld">97</long>
    <long name="string_sd">96</long>
  </lst>
  <lst name="p2r">
    <date name="date_dtd">1803-12-31T23:59:59Z</date>
    <double name="double_dd">10.0</double>
    <float name="float_fd">14.0</float>
    <int name="int_id">10</int>
    <long name="long_ld">7</long>
    <str name="string_sd">str13</str>
  </lst>
  <lst name="str">
    <double name="double_dd">13.984732728771194</double>
    <double name="int_id">20.006249023742555</double>
    <double name="long_ld">9.680330028304972</double>
  </lst>
  <lst name="mir">
    <date name="date_dtd">1801-12-31T23:59:59Z</date>
    <double name="double_dd">1.0</double>
    <float name="float_fd">1.0</float>
    <int name="int_id">1</int>
    <long name="long_ld">1</long>
    <str name="string_sd">str1</str>
  </lst>
  <lst name="sosr">
    <double name="double_dd">76049.0</double>
    <double name="float_fd">263901.0</double>
    <double name="int_id">124509.0</double>
    <double name="long_ld">36750.0</double>
  </lst>
  <lst name="misr">
    <long name="date_dtd">9</long>
    <long name="double_dd">3</long>
    <long name="float_fd">2</long>
    <long name="int_id">2</long>
    <long name="long_ld">3</long>
    <long name="string_sd">4</long>
  </lst>
  <lst name="ur">
    <long name="date_dtd">11</long>
    <long name="double_dd">48</long>
    <long name="float_fd">92</long>
    <long name="int_id">70</long>
    <long name="long_ld">35</long>
    <long name="string_sd">27</long>
  </lst>
  <lst name="mar">
    <date name="date_dtd">1811-12-31T23:59:59Z</date>
    <double name="double_dd">48.0</double>
    <float name="float_fd">92.0</float>
    <int name="int_id">70</int>
    <long name="long_ld">35</long>
    <str name="string_sd">str9</str>
  </lst>
  <lst name="sr">
    <double name="double_dd">2353.0</double>
    <double name="float_fd">4299.0</double>
    <double name="int_id">2891.0</double>
    <double name="long_ld">1638.0</double>
  </lst>
</lst>
</response>
{code}

> 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
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message