lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject svn commit: r1329414 - /lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Date Mon, 23 Apr 2012 20:08:48 GMT
Author: jdyer
Date: Mon Apr 23 20:08:47 2012
New Revision: 1329414

URL: http://svn.apache.org/viewvc?rev=1329414&view=rev
Log:
SOLR-3361: fix "maxNumberOfBackups" to work if backups are triggered on commit

Modified:
    lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java

Modified: lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java?rev=1329414&r1=1329413&r2=1329414&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
(original)
+++ lucene/dev/branches/lucene_solr_3_6/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java
Mon Apr 23 20:08:47 2012
@@ -720,6 +720,9 @@ public class TestReplicationHandler exte
           backupThread = new BackupThread(addNumberToKeepInRequest, backupKeepParamName);
           backupThread.start();
         }
+      } else {
+        backupThread = new BackupThread(addNumberToKeepInRequest, backupKeepParamName);
+        backupThread.start();
       }
       
       



Mime
View raw message