mirror of https://github.com/apache/lucene.git
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:
parent
12a468bef2
commit
41532ab267
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue