From 961b27644d6fbd12ad6b9877d85ceaaa9175140e Mon Sep 17 00:00:00 2001 From: Bishoy Boktor Date: Fri, 2 Apr 2021 18:55:08 +0000 Subject: [PATCH] Remove OPENSEARCH_TMPDIR check and security check from ftr run Removed the check for the self-created extraction directory and removed the no-longer existing security check arg Signed-off-by: Bishoy Boktor --- packages/osd-opensearch/src/cluster.js | 6 +++--- test/common/config.js | 2 +- test/security_functional/config.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/osd-opensearch/src/cluster.js b/packages/osd-opensearch/src/cluster.js index 4577fa73bca9..8d0fdb5aa50a 100644 --- a/packages/osd-opensearch/src/cluster.js +++ b/packages/osd-opensearch/src/cluster.js @@ -291,9 +291,9 @@ exports.Cluster = class Cluster { this._process = execa(OPENSEARCH_BIN, args, { cwd: installPath, env: { - ...(installPath - ? { OPENSEARCH_TMPDIR: path.resolve(installPath, 'OPENSEARCH_TMPDIR') } - : {}), + //...(installPath + //? { OPENSEARCH_TMPDIR: path.resolve(installPath, 'OPENSEARCH_TMPDIR') } + //: {}), ...process.env, ...(options.bundledJDK ? { JAVA_HOME: '' } : {}), ...(options.opensearchEnvVars || {}), diff --git a/test/common/config.js b/test/common/config.js index 1e20033330ab..cde268bdfa32 100644 --- a/test/common/config.js +++ b/test/common/config.js @@ -50,7 +50,7 @@ export default function () { `--home.disableWelcomeScreen=true`, // Needed for async search functional tests to introduce a delay `--data.search.aggs.shardDelay.enabled=true`, - `--security.showInsecureClusterWarning=false`, + //`--security.showInsecureClusterWarning=false`, // '--telemetry.banner=false', // '--telemetry.optIn=false', // These are *very* important to have them pointing to staging diff --git a/test/security_functional/config.ts b/test/security_functional/config.ts index 8f141dd160b0..d7ac4b0197f3 100644 --- a/test/security_functional/config.ts +++ b/test/security_functional/config.ts @@ -45,7 +45,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...functionalConfig .get('osdTestServer.serverArgs') .filter((arg: string) => !arg.startsWith('--security.showInsecureClusterWarning')), - '--security.showInsecureClusterWarning=true', + // '--security.showInsecureClusterWarning=true', // Required to load new platform plugins via `--plugin-path` flag. '--env.name=development', ],