SOLR-14350: fix test failure due to SOLR-14012

This commit is contained in:
Munendra S N 2020-03-19 22:43:29 +05:30
parent 78e670f19e
commit e36733d01d
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ public class JsonRequestApiTest extends SolrCloudTestCase {
assertEquals(4, queryResponse.getResults().size());
final NestableJsonFacet topLevelFacetingData = queryResponse.getJsonFacetingResponse();
assertEquals(146.66, (double) topLevelFacetingData.getStatValue("avg_price"), 0.5);
assertEquals(3, topLevelFacetingData.getStatValue("num_suppliers"));
assertEquals(3L, topLevelFacetingData.getStatValue("num_suppliers"));
assertEquals(352.0, (double) topLevelFacetingData.getStatValue("median_weight"), 0.5);
Object val = topLevelFacetingData.getStatValue("min_manufacturedate_dt");