SOLR-8279: end searcher tracking before object release tracker.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2015-12-17 18:42:00 +00:00
parent e2a9b04213
commit 8043424046
1 changed files with 1 additions and 1 deletions

View File

@ -223,8 +223,8 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
if (suiteFailureMarker.wasSuccessful()) {
// if the tests passed, make sure everything was closed / released
if (!RandomizedContext.current().getTargetClass().isAnnotationPresent(SuppressObjectReleaseTracker.class)) {
String orr = ObjectReleaseTracker.clearObjectTrackerAndCheckEmpty();
endTrackingSearchers(120, true);
String orr = ObjectReleaseTracker.clearObjectTrackerAndCheckEmpty();
assertNull(orr, orr);
} else {
endTrackingSearchers(15, false);