lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0-ea-b114) - Build # 8390 - Failure!
Date Wed, 20 Nov 2013 12:32:53 GMT
Yup. This is intriguing. CC me when you hit this again, in case I miss it.

Dawid

On Wed, Nov 20, 2013 at 1:09 PM, Erick Erickson <erickerickson@gmail.com> wrote:
> Thanks Dawid! Problem is I can't reproduce locally But I incorporated your
> suggestion and committed it to trunk so the next time it fails we should
> have the information to go on.
>
>
> On Wed, Nov 20, 2013 at 6:30 AM, Dawid Weiss <dawid.weiss@cs.put.poznan.pl>
> wrote:
>>
>> > assertTrue(Math.abs(floatResult-floatTest)<.00000000001);
>>
>> I would change this to:
>>
>> assertTrue(Math.abs(floatResult-floatTest)<.00000000001 :
>>   "Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + "
>> - " + Double.doubleToRawLongBits(floatTest) + " < min.")
>>
>> this should give you raw double representation from which you could
>> then diagnose the issue (reproduce locally for the same seed, compare
>> raw repr.).
>>
>> Dawid
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message