Increase max compilation limit in standalone tests
Some REST tests can rapid-fire script compilations that exceed the default script compilations per minute. Rather than subjecting ourselves to spurious failures because of the limit being too low, we opt for a larger limit here.
This commit is contained in:
parent
bc8dc683e4
commit
6d68e8a10c
|
@ -316,6 +316,8 @@ class ClusterFormationTasks {
|
||||||
if (Version.fromString(node.nodeVersion).major >= 6) {
|
if (Version.fromString(node.nodeVersion).major >= 6) {
|
||||||
esConfig['cluster.routing.allocation.disk.watermark.flood_stage'] = '1b'
|
esConfig['cluster.routing.allocation.disk.watermark.flood_stage'] = '1b'
|
||||||
}
|
}
|
||||||
|
// increase script compilation limit since tests can rapid-fire script compilations
|
||||||
|
esConfig['script.max_compilations_per_minute'] = 2048
|
||||||
esConfig.putAll(node.config.settings)
|
esConfig.putAll(node.config.settings)
|
||||||
|
|
||||||
Task writeConfig = project.tasks.create(name: name, type: DefaultTask, dependsOn: setup)
|
Task writeConfig = project.tasks.create(name: name, type: DefaultTask, dependsOn: setup)
|
||||||
|
|
Loading…
Reference in New Issue