mirror of https://github.com/apache/lucene.git
SOLR-9877: Remove assertion because many tests use UpdateShardHandler without metrics
This commit is contained in:
parent
283b329bbb
commit
c2292faaf1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue