tests: fail if closes != opens

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-10-22 19:38:22 +00:00
parent 16c09f48ab
commit abbfc101e3
1 changed files with 1 additions and 2 deletions

View File

@ -111,8 +111,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
if (endNumOpens-numOpens != endNumCloses-numCloses) {
String msg = "ERROR: SolrIndexSearcher opens=" + (endNumOpens-numOpens) + " closes=" + (endNumCloses-numCloses);
log.error(msg);
// TODO: make this fail if we manage to clean up
// fail(msg);
fail(msg);
}
}