mirror of https://github.com/apache/lucene.git
LUCENE-5064: Relax PagedGrowableWriter.ramBytesUsed test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
036381290d
commit
f0b9fb280c
|
@ -686,7 +686,7 @@ public class TestPackedInts extends LuceneTestCase {
|
|||
}
|
||||
|
||||
// test ramBytesUsed
|
||||
assertEquals(RamUsageEstimator.sizeOf(writer), writer.ramBytesUsed());
|
||||
assertEquals(RamUsageEstimator.sizeOf(writer), writer.ramBytesUsed(), 8);
|
||||
|
||||
// test copy
|
||||
PagedGrowableWriter copy = writer.resize(_TestUtil.nextLong(random(), writer.size() / 2, writer.size() * 3 / 2));
|
||||
|
|
Loading…
Reference in New Issue