* [es/tests] remove unused module
* [testUtil/es] add utility for starting es nodes in tests
* [ftr/tests] use esTestCluster util to start es
* [es/tests/routes] use esTestCluster to start own es
* [testUtils/kbnServer] disable uiSettings unless plugins are enabled
* [testUtils/esTestCluster] use standard test es port by default
* [server/http/tests] add esTestCluster to setup
* [test/config] unify es test config into a single module
* [testUtils/esTestCluster] directory is no longer configurable
* [testUtils/esTestCluster] throw when es.start() is called again without es.stop()
* [testUtils/esTestCluster] is* checks should not mutate state
(cherry picked from commit 6748b22d03
)
17 lines
405 B
JavaScript
17 lines
405 B
JavaScript
const env = process.env;
|
|
|
|
export const kibanaUser = {
|
|
username: env.TEST_KIBANA_USER || 'elastic',
|
|
password: env.TEST_KIBANA_PASS || 'changeme'
|
|
};
|
|
|
|
export const kibanaServer = {
|
|
username: env.TEST_KIBANA_SERVER_USER || 'kibana',
|
|
password: env.TEST_KIBANA_SERVER_PASS || 'changeme'
|
|
};
|
|
|
|
export const admin = {
|
|
username: env.TEST_ES_USER || 'elastic',
|
|
password: env.TEST_ES_PASS || 'changeme'
|
|
};
|