Increase breaker limit in NettyHttpRequestSizeLimitIT

With the previous breaker limit spurious failures on transport level
can happen in the test. With the new limit we ensure that the breaker
breaks due to a too large HTTP request instead.
This commit is contained in:
Daniel Mitterdorfer 2016-04-14 10:11:24 +02:00
parent 1c858b57c4
commit c22d93f7cc
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ import static org.hamcrest.Matchers.hasSize;
*/
@ClusterScope(scope = Scope.TEST, numDataNodes = 1)
public class NettyHttpRequestSizeLimitIT extends ESIntegTestCase {
private static final ByteSizeValue LIMIT = new ByteSizeValue(1, ByteSizeUnit.KB);
private static final ByteSizeValue LIMIT = new ByteSizeValue(2, ByteSizeUnit.KB);
@Override
protected Settings nodeSettings(int nodeOrdinal) {