reinit these in beforeClass

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-09-29 22:11:10 +00:00
parent 1381ac096b
commit 56c6a591d7
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ public abstract class BasePostingsFormatTestCase extends LuceneTestCase {
@BeforeClass
public static void createPostings() throws IOException {
maxDocID = 0;
totalPostings = 0;
totalPayloadBytes = 0;
fields = new TreeMap<String,Map<BytesRef,List<Posting>>>();
fieldsLive = new TreeMap<String,Map<BytesRef,List<Posting>>>();