Apache Solr open-source search software
SOLR-3209 -- sorry
Ryan McKinley29a1f13e3501
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.javaindex 49d92342d09..b2be7ddae29 100644--- a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java@@ -738,7 +738,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBaseassertNotNull( stats );assertEquals( 5.0, ((Double)stats.getMin()).doubleValue(), 0 );- assertEquals( 20.0, ((Double)stats.getMin()).doubleValue(), 0 );+ assertEquals( 20.0, ((Double)stats.getMax()).doubleValue(), 0 );assertEquals( new Long(nums.length), stats.getCount() );assertEquals( new Long(0), stats.getMissing() );@@ -782,7 +782,7 @@ abstract public class SolrExampleTests extends SolrJettyTestBaseassertEquals( inStockF.getCount(), inStockT.getCount() );assertEquals( stats.getCount().longValue(), inStockF.getCount()+inStockT.getCount() );- assertTrue( "check that min max faceted ok", ((Double)inStockF.getMin()).doubleValue() > ((Double)inStockF.getMax()).doubleValue() );+ assertTrue( "check that min max faceted ok", ((Double)inStockF.getMin()).doubleValue() < ((Double)inStockF.getMax()).doubleValue() );assertEquals( "they have the same distribution", inStockF.getStddev(), inStockT.getStddev() );}