From 80db6d38c2835ef7c001397b391afc451895bee1 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Fri, 3 Feb 2012 03:25:49 +0000 Subject: [PATCH] try turning indexsearcher open/close check back on git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239993 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/solr/SolrTestCaseJ4.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java index 397c38e5b02..978a8bbb8fc 100755 --- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java +++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java @@ -148,9 +148,8 @@ 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: re-enable this when we've nailed down why this happens on jenkins so often (and not other systems) - see SOLR-3066 - // testsFailed = true; - // fail(msg); + testsFailed = true; + fail(msg); } }