mirror of https://github.com/apache/lucene.git
Adding debug information to diagnose failure, this time so it shows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db8f24dbad
commit
493ce1b65a
|
@ -224,8 +224,6 @@ public class NoFacetTest extends AbstractAnalyticsStatsTest {
|
||||||
//Float
|
//Float
|
||||||
Double floatResult = (Double)getStatResult(response, "str", "double", "float_fd");
|
Double floatResult = (Double)getStatResult(response, "str", "double", "float_fd");
|
||||||
Double floatTest = (Double)calculateNumberStat(floatTestStart, "stddev");
|
Double floatTest = (Double)calculateNumberStat(floatTestStart, "stddev");
|
||||||
assertTrue(Math.abs(floatResult-floatTest)<.00000000001);
|
|
||||||
|
|
||||||
assertTrue("Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + " - "
|
assertTrue("Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + " - "
|
||||||
+ Double.doubleToRawLongBits(floatTest) + " < " + Double.doubleToRawLongBits(.00000000001) +
|
+ Double.doubleToRawLongBits(floatTest) + " < " + Double.doubleToRawLongBits(.00000000001) +
|
||||||
" Calculated diff " + Double.doubleToRawLongBits(floatResult - floatTest),
|
" Calculated diff " + Double.doubleToRawLongBits(floatResult - floatTest),
|
||||||
|
|
Loading…
Reference in New Issue