[TEST] restored `gateway: local` settings in ClusterDiscoveryConfiguration fork and clarify version assert (now for real)

Local gateway has been removed in core, but it's a master only change. If we don't set it to local in our settings, we end up using the none gateway and KnownActionsTests fails because the local gateway endpoint are not registered to core.

Original commit: elastic/x-pack-elasticsearch@9bb550329f
This commit is contained in:
javanna 2014-12-02 11:07:05 +01:00 committed by Luca Cavanna
parent 731feff48f
commit d7478b188e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class ClusterDiscoveryConfiguration extends SettingsSource {
}
static Settings DEFAULT_NODE_SETTINGS = ImmutableSettings.settingsBuilder()
//.put("gateway.type", "local")
.put("gateway.type", "local")
.put("discovery.type", "zen").build();
final int numOfNodes;