Force test infra to use node client in NettyHttpRequestSizeLimitIT

This commit is contained in:
Daniel Mitterdorfer 2016-06-16 15:36:29 +02:00
parent e442f07460
commit 0faa9409b3
1 changed files with 2 additions and 2 deletions

View File

@ -42,9 +42,9 @@ import static org.hamcrest.Matchers.hasSize;
* This test checks that in-flight requests are limited on HTTP level and that requests that are excluded from limiting can pass.
*
* As the same setting is also used to limit in-flight requests on transport level, we avoid transport messages by forcing
* a single node "cluster".
* a single node "cluster". We also force test infrastructure to use the node client instead of the transport client for the same reason.
*/
@ClusterScope(scope = Scope.TEST, supportsDedicatedMasters = false, numClientNodes = 0, numDataNodes = 1)
@ClusterScope(scope = Scope.TEST, supportsDedicatedMasters = false, numClientNodes = 0, numDataNodes = 1, transportClientRatio = 0)
public class NettyHttpRequestSizeLimitIT extends ESIntegTestCase {
private static final ByteSizeValue LIMIT = new ByteSizeValue(2, ByteSizeUnit.KB);