fix test to set FieldCache infoStream back to null so other tests don't then print to it

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593073 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2014-05-07 17:25:43 +00:00
parent 12a468bef2
commit 41532ab267
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ public class TestFieldCache extends LuceneTestCase {
}, false);
assertTrue(bos.toString(IOUtils.UTF_8).indexOf("WARNING") != -1);
} finally {
FieldCache.DEFAULT.setInfoStream(null);
FieldCache.DEFAULT.purgeAllCaches();
}
}