Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183563218 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -49,17 +50,20 @@ import org.junit.BeforeClass; import org.junit.Test; -public class TestBsonRecordReader extends BaseTestQuery { +public class TestBsonRecordReader { + private static BufferAllocator allocator; private static VectorContainerWriter writer; private static TestOutputMutator mutator; + private static DrillBuf buffer; private static BsonRecordReader bsonReader; @BeforeClass public static void setUp() { - BufferAllocator bufferAllocator = getDrillbitContext().getAllocator(); - mutator = new TestOutputMutator(bufferAllocator); + allocator = new RootAllocator(100_000_000); --- End diff -- Is it necessary to reserve 100MB for allocator? Does it allocate more than 1K?
---