Skip to content

Commit

Permalink
Fix Failing Clear Cache API Test (#1336)
Browse files Browse the repository at this point in the history
Signed-off-by: Naveen Tatikonda <[email protected]>
  • Loading branch information
naveentatikonda authored Dec 7, 2023
1 parent 5e2f899 commit aa30992
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
public class RestClearCacheHandlerIT extends KNNRestTestCase {
private static final String TEST_FIELD = "test-field";
private static final int DIMENSIONS = 2;
private static final String ALL_INDICES = "_all";

@SneakyThrows
public void testNonExistentIndex() {
Expand Down Expand Up @@ -81,7 +80,7 @@ public void testClearCacheMultipleIndices() {

assertEquals(graphCountBefore + 2, getTotalGraphsInCache());

clearCache(Arrays.asList(ALL_INDICES));
clearCache(Arrays.asList(testIndex1, testIndex2));
assertEquals(graphCountBefore, getTotalGraphsInCache());
}

Expand Down

0 comments on commit aa30992

Please sign in to comment.