Tests: Lower expected precision for InternalAvgTests

Closes #23723
This commit is contained in:
Christoph Büscher 2017-03-24 11:15:09 +01:00
parent 8822332355
commit 396785ccb1
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public class InternalAvgTests extends InternalAggregationTestCase<InternalAvg> {
counts += in.getCount();
}
assertEquals(counts, reduced.getCount());
assertEquals(sum, reduced.getSum(), 0.00000001);
assertEquals(sum / counts, reduced.value(), 0.00000001);
assertEquals(sum, reduced.getSum(), 0.0000001);
assertEquals(sum / counts, reduced.value(), 0.0000001);
}
}