Test: Ensure that security plugin is not loaded via classpath

Original commit: elastic/x-pack-elasticsearch@765a3d5115
This commit is contained in:
Alexander Reelsen 2014-09-09 16:26:23 +02:00
parent 263ebfbbf2
commit 954ea51ef3
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ public abstract class ShieldIntegrationTest extends ElasticsearchIntegrationTest
.put("shield.authz.store.files.roles", writeFile(folder, "roles.yml", CONFIG_ROLE_ALLOW_ALL))
.put("shield.transport.n2n.ip_filter.file", writeFile(folder, "ip_filter.yml", CONFIG_IPFILTER_ALLOW_ALL))
.put(getSSLSettingsForStore("/org/elasticsearch/shield/transport/ssl/certs/simple/testnode.jks", "testnode"))
.put("shield.audit.enabled", true);
.put("shield.audit.enabled", true)
.put("plugins.load_classpath_plugins", false);
if (OsUtils.MAC) {
builder.put("network.host", randomBoolean() ? "127.0.0.1" : "::1");