SOLR-8279: Do not fail tests due to searcher tracking - just use that for waiting and use ObjectReleaseTracker for the fail since it has more detailed info.

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

View File

@ -223,7 +223,7 @@ 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)) {
endTrackingSearchers(120, true);
endTrackingSearchers(120, false);
String orr = ObjectReleaseTracker.clearObjectTrackerAndCheckEmpty();
assertNull(orr, orr);
} else {