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

This commit is contained in:
Shalin Shekhar Mangar 2016-12-28 19:00:13 +05:30
parent 283b329bbb
commit c2292faaf1
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ public class InstrumentedHttpRequestExecutor extends HttpRequestExecutor impleme
@Override @Override
public HttpResponse execute(HttpRequest request, HttpClientConnection conn, HttpContext context) throws IOException, HttpException { public HttpResponse execute(HttpRequest request, HttpClientConnection conn, HttpContext context) throws IOException, HttpException {
assert metricsRegistry != null;
final Timer.Context timerContext = timer(request).time(); final Timer.Context timerContext = timer(request).time();
try { try {
return super.execute(request, conn, context); return super.execute(request, conn, context);