From 493ce1b65a82e332f4a48a1c4b72f3419d717a7b Mon Sep 17 00:00:00 2001 From: Erick Erickson Date: Thu, 21 Nov 2013 12:19:45 +0000 Subject: [PATCH] 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 --- solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java b/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java index 94703d1b2f6..992edc9c76d 100644 --- a/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java +++ b/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java @@ -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),