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:
Adrien Grand 2013-06-18 21:35:34 +00:00
parent 036381290d
commit f0b9fb280c
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ public class TestPackedInts extends LuceneTestCase {
} }
// test ramBytesUsed // test ramBytesUsed
assertEquals(RamUsageEstimator.sizeOf(writer), writer.ramBytesUsed()); assertEquals(RamUsageEstimator.sizeOf(writer), writer.ramBytesUsed(), 8);
// test copy // test copy
PagedGrowableWriter copy = writer.resize(_TestUtil.nextLong(random(), writer.size() / 2, writer.size() * 3 / 2)); PagedGrowableWriter copy = writer.resize(_TestUtil.nextLong(random(), writer.size() / 2, writer.size() * 3 / 2));