Test: increase number of script compilations per minute to 20
This commit increases the number of script compilations per minute to 20 to account for security
and watcher upgrade scripts in addition to the scripts contained within cluster alerts.
Relates elastic/x-pack-elasticsearch#2041
Original commit: elastic/x-pack-elasticsearch@6c15cb9b898dcd38c6b45834dc929a9fd2518926
@@ -121,6 +121,7 @@ subprojects {
setting 'xpack.security.transport.ssl.enabled', 'true'
setting 'xpack.ssl.keystore.path', 'testnode.jks'
setting 'xpack.ssl.keystore.password', 'testnode'
+ setting 'script.max_compilations_per_minute', '20'
dependsOn copyTestNodeKeystore
extraConfigFile 'testnode.jks', new File(outputDir + '/testnode.jks')
if (withSystemKey) {
@@ -154,6 +155,7 @@ subprojects {
setupCommand 'setupTestUser', 'bin/x-pack/users', 'useradd', 'test_user', '-p', 'x-pack-test-password', '-r', 'superuser'
waitCondition = waitWithAuth
setting 'xpack.ssl.keystore.path', 'testnode.jks'
+ setting 'script.max_compilations_per_minute', '20'
keystoreSetting 'xpack.ssl.keystore.secure_password', 'testnode'
dependsOn copyTestNodeKeystore
extraConfigFile 'testnode.jks', new File(outputDir + '/testnode.jks')
