You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2016/02/25 02:57:27 UTC

[07/50] [abbrv] lucene-solr git commit: SOLR-8575: Add missing assert.

SOLR-8575: Add missing assert.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2fd90cd4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2fd90cd4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2fd90cd4

Branch: refs/heads/jira/SOLR-445
Commit: 2fd90cd4893952f5150e34ed70e86d3e85f61458
Parents: 206a2b8
Author: markrmiller <ma...@apache.org>
Authored: Sat Feb 20 20:35:21 2016 -0500
Committer: markrmiller <ma...@apache.org>
Committed: Sat Feb 20 20:35:21 2016 -0500

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/update/UpdateLog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2fd90cd4/solr/core/src/java/org/apache/solr/update/UpdateLog.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
index 4b6f7c2..2f55e40 100644
--- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java
+++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
@@ -1440,7 +1440,7 @@ public class UpdateLog implements PluginInfoInitialized {
             loglog.warn("REPLAY_ERR: Exception replaying log", ex);
             // something wrong with the request?
           }
-          TestInjection.injectUpdateLogReplayRandomPause();
+          assert TestInjection.injectUpdateLogReplayRandomPause();
         }
 
         CommitUpdateCommand cmd = new CommitUpdateCommand(req, false);