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:
Steven Rowe 2013-01-16 05:00:52 +00:00
parent 9c4916912b
commit 70fd1bcb2b
1 changed files with 1 additions and 1 deletions

View File

@ -248,10 +248,10 @@ public class TestLazyCores extends SolrTestCaseJ4 {
} }
} }
static List<SolrCore> _theCores = new ArrayList<SolrCore>();
// Test case for SOLR-4300 // Test case for SOLR-4300
@Test @Test
public void testRace() throws Exception { public void testRace() throws Exception {
final List<SolrCore> _theCores = new ArrayList<SolrCore>();
final CoreContainer cc = init(); final CoreContainer cc = init();
try { try {