Skip to content

Commit 855790b

Browse files
committed
polish
1 parent b97a90c commit 855790b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalServiceTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,8 +1275,7 @@ public void testChunkingLargeDocument() throws InterruptedException {
12751275
assumeTrue("Only if 'inference_chunking_settings' feature flag is enabled", ChunkingSettingsFeatureFlag.isEnabled());
12761276

12771277
int wordsPerChunk = 10;
1278-
int numBatches = 3;
1279-
randomIntBetween(3, 6);
1278+
int numBatches = randomIntBetween(3, 6);
12801279
int numChunks = randomIntBetween(
12811280
((numBatches - 1) * ElasticsearchInternalService.EMBEDDING_MAX_BATCH_SIZE) + 1,
12821281
numBatches * ElasticsearchInternalService.EMBEDDING_MAX_BATCH_SIZE

0 commit comments

Comments
 (0)