From f9a601c7da8ae050754dbd24f710c0102b7aafa7 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Tue, 22 Dec 2015 17:31:06 +0100 Subject: [PATCH] Make BulkProcessorRetryIT less sensitive In this commit we increase the queue size of the bulk pool in BulkProcessorRetryIT to make it less sensitive. As this test case should stress the pool so bulk processor needs to back off but not so much that the backoff policy will give up at some point (which is a valid condition), we still keep it below the default queue size of 50. --- .../org/elasticsearch/action/bulk/BulkProcessorRetryIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/action/bulk/BulkProcessorRetryIT.java b/core/src/test/java/org/elasticsearch/action/bulk/BulkProcessorRetryIT.java index 3c38e2ef0fa..3fd32361215 100644 --- a/core/src/test/java/org/elasticsearch/action/bulk/BulkProcessorRetryIT.java +++ b/core/src/test/java/org/elasticsearch/action/bulk/BulkProcessorRetryIT.java @@ -54,7 +54,7 @@ public class BulkProcessorRetryIT extends ESIntegTestCase { //.put("threadpool.listener.queue_size", 1) .put("threadpool.get.queue_size", 1) // default is 50 - .put("threadpool.bulk.queue_size", 20) + .put("threadpool.bulk.queue_size", 30) .build(); }