[TEST] apply default settings before test specific ones to external nodes in bw comp tests, otherwise the defaults win all the time
This commit is contained in:
parent
44dbd9b0c9
commit
645db6867b
|
@ -74,7 +74,7 @@ final class ExternalNode implements Closeable {
|
|||
|
||||
synchronized ExternalNode start(Client localNode, Settings defaultSettings, String nodeName, String clusterName, int nodeOrdinal) throws IOException, InterruptedException {
|
||||
ExternalNode externalNode = new ExternalNode(path, clusterName, random.nextLong(), settingsSource);
|
||||
Settings settings = ImmutableSettings.builder().put(settingsSource.node(nodeOrdinal)).put(defaultSettings).build();
|
||||
Settings settings = ImmutableSettings.builder().put(defaultSettings).put(settingsSource.node(nodeOrdinal)).build();
|
||||
externalNode.startInternal(localNode, settings, nodeName, clusterName);
|
||||
return externalNode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue