From 666b45f65d828b32be4a3779eb780cba028f363d Mon Sep 17 00:00:00 2001 From: Kaituo Li Date: Fri, 8 Apr 2022 15:46:47 -0700 Subject: [PATCH] remove unused code Signed-off-by: Kaituo Li --- .../java/org/opensearch/ad/transport/MultiEntityResultTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/org/opensearch/ad/transport/MultiEntityResultTests.java b/src/test/java/org/opensearch/ad/transport/MultiEntityResultTests.java index 64f5e3422..e3a70c376 100644 --- a/src/test/java/org/opensearch/ad/transport/MultiEntityResultTests.java +++ b/src/test/java/org/opensearch/ad/transport/MultiEntityResultTests.java @@ -1296,7 +1296,6 @@ public void testSelectHigherExceptionInModelNode() throws InterruptedException, * @throws InterruptedException while waiting for execution gets interruptted */ public void testMissingIndex() throws InterruptedException { - // when(indexNameResolver.concreteIndexNames(any(), any(), any(String[].class))).thenReturn(new String[] {}); final CountDownLatch inProgressLatch = new CountDownLatch(1); doAnswer(invocation -> {