Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1234#discussion_r183741516
  
    --- 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;
    --- End diff --
    
    What is a reason `allocator` and other variables are initialized in 
`@BeforeClass`? Can they be initialized in `@Before` instead?


---

Reply via email to