Skip to content

Commit

Permalink
Add QSC cleanup to NativeEngines990KnnVectorsFormatTests
Browse files Browse the repository at this point in the history
Signed-off-by: owenhalpert <[email protected]>
  • Loading branch information
owenhalpert committed Jan 21, 2025
1 parent 8b14477 commit bec302f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
import org.opensearch.knn.index.mapper.KNNVectorFieldMapper;
import org.opensearch.knn.index.engine.KNNEngine;
import org.opensearch.knn.quantization.enums.ScalarQuantizationType;
import org.opensearch.knn.quantization.models.quantizationState.QuantizationStateCacheManager;

import java.io.IOException;
import java.util.Arrays;
Expand Down Expand Up @@ -93,6 +94,7 @@ public void tearDown() throws Exception {
if (dir != null) {
dir.close();
}
QuantizationStateCacheManager.getInstance().close();
super.tearDown();
}

Expand Down

0 comments on commit bec302f

Please sign in to comment.