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@f899d48449
This commit is contained in:
parent
e22b9aed86
commit
809d6ec08c
|
@ -158,6 +158,7 @@ subprojects {
|
|||
setting 'xpack.security.transport.ssl.enabled', 'true'
|
||||
setting 'xpack.ssl.keystore.path', 'testnode.jks'
|
||||
setting 'xpack.ssl.keystore.password', 'testnode'
|
||||
setting 'xpack.license.self_generated.type', 'trial'
|
||||
dependsOn copyTestNodeKeystore
|
||||
extraConfigFile 'testnode.jks', new File(outputDir + '/testnode.jks')
|
||||
if (withSystemKey) {
|
||||
|
@ -207,6 +208,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) {
|
||||
|
|
|
@ -115,7 +115,6 @@ public class FullClusterRestartIT extends ESRestTestCase {
|
|||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/3975")
|
||||
public void testSecurityNativeRealm() throws Exception {
|
||||
if (runningAgainstOldCluster) {
|
||||
createUser("preupgrade_user");
|
||||
|
@ -189,7 +188,6 @@ public class FullClusterRestartIT extends ESRestTestCase {
|
|||
waitForClusterStats(expectedVersion);
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/3975")
|
||||
public void testWatcher() throws Exception {
|
||||
if (runningAgainstOldCluster) {
|
||||
logger.info("Adding a watch on old cluster {}", oldClusterVersion);
|
||||
|
|
Loading…
Reference in New Issue