From 9e14bff948882b02660341ffe3da224f4ae37abb Mon Sep 17 00:00:00 2001 From: jaymode Date: Fri, 21 Jul 2017 13:49:22 -0600 Subject: [PATCH] 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 --- qa/full-cluster-restart/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/full-cluster-restart/build.gradle b/qa/full-cluster-restart/build.gradle index fec9b286fd2..94d70195460 100644 --- a/qa/full-cluster-restart/build.gradle +++ b/qa/full-cluster-restart/build.gradle @@ -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')