mirror of https://github.com/apache/lucene.git
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:
parent
16c09f48ab
commit
abbfc101e3
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue