Apache Solr open-source search software
SOLR-8575: Add missing assert.
markrmiller2fd90cd48939
diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.javaindex 4b6f7c290fb..2f55e407f90 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);