You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2013/01/16 06:02:29 UTC

svn commit: r1433824 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/core/TestLazyCores.java

Author: sarowe
Date: Wed Jan 16 05:02:29 2013
New Revision: 1433824

URL: http://svn.apache.org/viewvc?rev=1433824&view=rev
Log:
SOLR-4300: In TestLazyCores, convert static field into local variable to avoid post-test memory retention

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/core/TestLazyCores.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/core/TestLazyCores.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/core/TestLazyCores.java?rev=1433824&r1=1433823&r2=1433824&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/core/TestLazyCores.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/core/TestLazyCores.java Wed Jan 16 05:02:29 2013
@@ -248,10 +248,10 @@ public class TestLazyCores extends SolrT
     }
   }
 
-  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 {