SOLR-13898: Add more information to the failure message.

This commit is contained in:
Andrzej Bialecki 2019-11-19 16:58:06 +01:00
parent cb1a72ad16
commit 4837e62989

View File

@ -72,7 +72,7 @@ public class TestSolrCachePerf extends SolrTestCaseJ4 {
}
computeRatio.forEach((type, computeStats) -> {
SummaryStatistics getPutStats = getPutRatio.get(type);
assertGreaterThanOrEqual( "Compute ratio should be higher or equal to get/put ratio", computeStats.getMean(), getPutStats.getMean(), 0.0001);
assertGreaterThanOrEqual( "Cache " + type + ": compute ratio should be higher or equal to get/put ratio", computeStats.getMean(), getPutStats.getMean(), 0.001);
});
}