Browse Source

Skip automatically creating the "elastic" user (#77507)

Andrei Stefan 4 years ago
parent
commit
2b96b08036
1 changed files with 2 additions and 0 deletions
  1. 2 0
      x-pack/plugin/sql/qa/server/security/build.gradle

+ 2 - 0
x-pack/plugin/sql/qa/server/security/build.gradle

@@ -26,6 +26,8 @@ subprojects {
     setting 'xpack.security.audit.enabled', 'true'
     setting 'xpack.security.enabled', 'true'
     setting 'xpack.license.self_generated.type', 'trial'
+    // skip automatically creating the "elastic" user (and the associated .security index)
+    setting 'xpack.security.autoconfiguration.enabled', 'false'
     // Setup roles used by tests
     extraConfigFile 'roles.yml', mainProject.file('roles.yml')
     /* Setup the one admin user that we run the tests as.