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 992edc9c76d..f43303af74a 100644 --- a/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java +++ b/solr/core/src/test/org/apache/solr/analytics/NoFacetTest.java @@ -226,7 +226,9 @@ public class NoFacetTest extends AbstractAnalyticsStatsTest { Double floatTest = (Double)calculateNumberStat(floatTestStart, "stddev"); assertTrue("Oops: (double raws) " + Double.doubleToRawLongBits(floatResult) + " - " + Double.doubleToRawLongBits(floatTest) + " < " + Double.doubleToRawLongBits(.00000000001) + - " Calculated diff " + Double.doubleToRawLongBits(floatResult - floatTest), + " Calculated diff " + Double.doubleToRawLongBits(floatResult - floatTest) + + " Let's see what the JVM thinks these bits are. FloatResult: " + floatResult.toString() + + " floatTest: " + floatTest.toString() + " Diff " + Double.toString(floatResult - floatTest), Math.abs(floatResult - floatTest) < .00000000001);