Test: don't enable unnecessary http transport in restoreIndexWithShardsMissingInLocalGateway test

This commit is contained in:
Igor Motov 2014-11-18 12:58:51 -05:00
parent 1e16375d04
commit 314da4ec9e
1 changed files with 2 additions and 3 deletions

View File

@ -498,9 +498,8 @@ public class DedicatedClusterSnapshotRestoreTests extends AbstractSnapshotTests
@TestLogging("indices.recovery:TRACE,index.gateway:TRACE,gateway:TRACE") @TestLogging("indices.recovery:TRACE,index.gateway:TRACE,gateway:TRACE")
public void restoreIndexWithShardsMissingInLocalGateway() throws Exception { public void restoreIndexWithShardsMissingInLocalGateway() throws Exception {
logger.info("--> start 2 nodes"); logger.info("--> start 2 nodes");
//NO COMMIT: remove HTTP_ENABLED internalCluster().startNode(settingsBuilder().put("gateway.type", "local"));
internalCluster().startNode(settingsBuilder().put("gateway.type", "local").put(InternalNode.HTTP_ENABLED, true)); internalCluster().startNode(settingsBuilder().put("gateway.type", "local"));
internalCluster().startNode(settingsBuilder().put("gateway.type", "local").put(InternalNode.HTTP_ENABLED, true));
cluster().wipeIndices("_all"); cluster().wipeIndices("_all");
logger.info("--> create repository"); logger.info("--> create repository");