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:
Erick Erickson 2013-11-21 12:19:45 +00:00
parent db8f24dbad
commit 493ce1b65a
1 changed files with 0 additions and 2 deletions

View File

@ -224,8 +224,6 @@ public class NoFacetTest extends AbstractAnalyticsStatsTest {
//Float
Double floatResult = (Double)getStatResult(response, "str", "double", "float_fd");
Double floatTest = (Double)calculateNumberStat(floatTestStart, "stddev");
assertTrue(Math.abs(floatResult-floatTest)<.00000000001);
assertTrue("Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + " - "
+ Double.doubleToRawLongBits(floatTest) + " < " + Double.doubleToRawLongBits(.00000000001) +
" Calculated diff " + Double.doubleToRawLongBits(floatResult - floatTest),