mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
CCS Fail Test Mode (#125997)
* Added the search.check_ccs_compatibility flag * Moved up the level on the logging statements for ES Args so we can debug locally. * Updated snapshots to reflect new flag that was added.
This commit is contained in:
parent
4e238ecbe5
commit
68ab355dc3
2 changed files with 5 additions and 2 deletions
|
@ -252,6 +252,7 @@ exports.Cluster = class Cluster {
|
|||
const esArgs = [
|
||||
'action.destructive_requires_name=true',
|
||||
'ingest.geoip.downloader.enabled=false',
|
||||
'search.check_ccs_compatibility=true',
|
||||
].concat(options.esArgs || []);
|
||||
|
||||
// Add to esArgs if ssl is enabled
|
||||
|
@ -274,7 +275,7 @@ exports.Cluster = class Cluster {
|
|||
[]
|
||||
);
|
||||
|
||||
this._log.debug('%s %s', ES_BIN, args.join(' '));
|
||||
this._log.info('%s %s', ES_BIN, args.join(' '));
|
||||
|
||||
let esJavaOpts = `${options.esJavaOpts || ''} ${process.env.ES_JAVA_OPTS || ''}`;
|
||||
|
||||
|
@ -287,7 +288,7 @@ exports.Cluster = class Cluster {
|
|||
esJavaOpts += ' -Xms1536m -Xmx1536m';
|
||||
}
|
||||
|
||||
this._log.debug('ES_JAVA_OPTS: %s', esJavaOpts.trim());
|
||||
this._log.info('ES_JAVA_OPTS: %s', esJavaOpts.trim());
|
||||
|
||||
this._process = execa(ES_BIN, args, {
|
||||
cwd: installPath,
|
||||
|
|
|
@ -309,6 +309,7 @@ describe('#start(installPath)', () => {
|
|||
Array [
|
||||
"action.destructive_requires_name=true",
|
||||
"ingest.geoip.downloader.enabled=false",
|
||||
"search.check_ccs_compatibility=true",
|
||||
],
|
||||
undefined,
|
||||
Object {
|
||||
|
@ -387,6 +388,7 @@ describe('#run()', () => {
|
|||
Array [
|
||||
"action.destructive_requires_name=true",
|
||||
"ingest.geoip.downloader.enabled=false",
|
||||
"search.check_ccs_compatibility=true",
|
||||
],
|
||||
undefined,
|
||||
Object {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue