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