Skip to content

Commit

Permalink
Update cli_config_parallel.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliidm authored Jun 14, 2022
1 parent a483006 commit ce839ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x-pack/test/security_solution_cypress/cli_config_parallel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { FtrProviderContext } from './ftr_provider_context';

import { SecuritySolutionCypressCliTestRunnerCI } from './runner';

const isChunkingDisabled = process.env.DISABLE_TEST_CASES_SPLITTING === 'true';
const cliNumber = parseInt(process.env.CLI_NUMBER ?? '1', 10);
const cliCount = parseInt(process.env.CLI_COUNT ?? '1', 10);

Expand All @@ -21,9 +20,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
...securitySolutionCypressConfig.getAll(),

testRunner: (context: FtrProviderContext) =>
// if isChunkingDisabled is true, we will run all existing tests instead splitting them between parallel jobs
isChunkingDisabled
? SecuritySolutionCypressCliTestRunnerCI(context)
: SecuritySolutionCypressCliTestRunnerCI(context, cliCount, cliNumber),
SecuritySolutionCypressCliTestRunnerCI(context, cliCount, cliNumber),
};
}

0 comments on commit ce839ad

Please sign in to comment.