From fd26fb7f20e4721d70504bcfac916035cbd8a4ed Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Fri, 21 Apr 2023 14:09:06 -0400 Subject: [PATCH] Increase docs number in disk usage for vectors (#95470) Closes #95045 --- .../admin/indices/diskusage/IndexDiskUsageAnalyzerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/action/admin/indices/diskusage/IndexDiskUsageAnalyzerTests.java b/server/src/test/java/org/elasticsearch/action/admin/indices/diskusage/IndexDiskUsageAnalyzerTests.java index d7d268a3cf723..9c09dc30faac1 100644 --- a/server/src/test/java/org/elasticsearch/action/admin/indices/diskusage/IndexDiskUsageAnalyzerTests.java +++ b/server/src/test/java/org/elasticsearch/action/admin/indices/diskusage/IndexDiskUsageAnalyzerTests.java @@ -252,7 +252,7 @@ public void testKnnVectors() throws Exception { try (Directory dir = createNewDirectory()) { final CodecMode codec = randomFrom(CodecMode.values()); VectorSimilarityFunction similarity = randomFrom(VectorSimilarityFunction.values()); - int numDocs = between(100, 1000); + int numDocs = between(1000, 5000); int dimension = between(10, 200); indexRandomly(dir, codec, numDocs, doc -> {