mirror of https://github.com/apache/lucene.git
SOLR-4300: In TestLazyCores, convert static field into local variable to avoid post-test memory retention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c4916912b
commit
70fd1bcb2b
|
@ -248,10 +248,10 @@ public class TestLazyCores extends SolrTestCaseJ4 {
|
|||
}
|
||||
}
|
||||
|
||||
static List<SolrCore> _theCores = new ArrayList<SolrCore>();
|
||||
// Test case for SOLR-4300
|
||||
@Test
|
||||
public void testRace() throws Exception {
|
||||
final List<SolrCore> _theCores = new ArrayList<SolrCore>();
|
||||
final CoreContainer cc = init();
|
||||
try {
|
||||
|
||||
|
|
Loading…
Reference in New Issue