Test: use trial license for full cluster restart tests
This updates the full cluster restart tests to use a trial license so
that security and watcher functionality can be tested. This is needed
as a result of changing the default license type to basic.
Relates elastic/x-pack-elasticsearch#3878
relates elastic/x-pack-elasticsearch#3975
Original commit: elastic/x-pack-elasticsearch@9a1c920bc2784292aa9e2b32412f7beba257631a
@@ -163,6 +163,9 @@ subprojects {
setting 'xpack.security.transport.ssl.enabled', 'true'
setting 'xpack.ssl.keystore.path', 'testnode.jks'
setting 'xpack.ssl.keystore.password', 'testnode'
+ if (version.onOrAfter('6.3.0')) {
+ setting 'xpack.license.self_generated.type', 'trial'
+ }
dependsOn copyTestNodeKeystore
extraConfigFile 'testnode.jks', new File(outputDir + '/testnode.jks')
if (version.before('5.1.2')) {
@@ -217,6 +220,7 @@ subprojects {
setting 'xpack.ssl.keystore.path', 'testnode.jks'
keystoreSetting 'xpack.ssl.keystore.secure_password', 'testnode'
+ setting 'xpack.license.self_generated.type', 'trial'
dependsOn copyTestNodeKeystore
extraConfigFile 'testnode.jks', new File(outputDir + '/testnode.jks')
if (withSystemKey) {
