You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2016/12/30 15:57:05 UTC

[29/50] [abbrv] lucene-solr:jira/solr-9854: SOLR-9877: Remove assertion because many tests use UpdateShardHandler without metrics

SOLR-9877: Remove assertion because many tests use UpdateShardHandler without metrics


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

Branch: refs/heads/jira/solr-9854
Commit: c2292faaf1f4993bf1cec666f4286ac71f786506
Parents: 283b329
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Wed Dec 28 19:00:13 2016 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Wed Dec 28 19:00:13 2016 +0530

----------------------------------------------------------------------
 .../org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c2292faa/solr/core/src/java/org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java b/solr/core/src/java/org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java
index 946a822..ad76d73 100644
--- a/solr/core/src/java/org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java
+++ b/solr/core/src/java/org/apache/solr/util/stats/InstrumentedHttpRequestExecutor.java
@@ -53,7 +53,6 @@ public class InstrumentedHttpRequestExecutor extends HttpRequestExecutor impleme
 
   @Override
   public HttpResponse execute(HttpRequest request, HttpClientConnection conn, HttpContext context) throws IOException, HttpException {
-    assert metricsRegistry != null;
     final Timer.Context timerContext = timer(request).time();
     try {
       return super.execute(request, conn, context);