-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SecuritySolution] Relocate endpoint tests (#183611)
## Summary #181683 This PR moves 1. x-pack/test/security_solution_endpoint_api_int to `x-pack/test/security_solution_api_integration/test_suites/security_solution_endpoint_api_int` 2. x-pack/test/security_solution_endpoint to `x-pack/test/security_solution_api_integration/test_suites/security_solution_endpoint` 3. x-pack/test/timeline to `x-pack/test/security_solution_api_integration/test_suites/investigation/timeline` ### To test: 1. ```cd x-pack/test/security_solution_api_integration``` 2. ```node ../../../scripts/functional_tests_server.js --config ./test_suites/security_solution_endpoint/serverless.endpoint.config.ts``` Once the server is launched (you might need Docker to run the serverless tests), open another terminal, go to the same path, and execute the command appears in the original: The command should look like: ```node ../../../scripts/functional_test_runner --config=test_suites/security_solution_endpoint/serverless.endpoint.config.ts``` --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information
1 parent
6e3b14f
commit 7ab3676
Showing
94 changed files
with
1,028 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ration/test_suites/investigation/timeline/security_and_spaces/configs/ess.basic.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { FtrConfigProviderContext } from '@kbn/test'; | ||
export default async function ({ readConfigFile }: FtrConfigProviderContext) { | ||
const functionalConfig = await readConfigFile( | ||
require.resolve('../../../../../config/ess/config.base.basic') | ||
); | ||
|
||
return { | ||
...functionalConfig.getAll(), | ||
kbnTestServer: { | ||
...functionalConfig.get('kbnTestServer'), | ||
serverArgs: [ | ||
...functionalConfig.get('kbnTestServer.serverArgs'), | ||
`--xpack.securitySolution.enableExperimental=${JSON.stringify([])}`, | ||
], | ||
}, | ||
testFiles: [require.resolve('../ess/basic')], | ||
junit: { | ||
reportName: 'Timeline Integration Tests - ESS Env - Basic License', | ||
}, | ||
}; | ||
} |
28 changes: 28 additions & 0 deletions
28
...ration/test_suites/investigation/timeline/security_and_spaces/configs/ess.trial.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { FtrConfigProviderContext } from '@kbn/test'; | ||
export default async function ({ readConfigFile }: FtrConfigProviderContext) { | ||
const functionalConfig = await readConfigFile( | ||
require.resolve('../../../../../config/ess/config.base.trial') | ||
); | ||
|
||
return { | ||
...functionalConfig.getAll(), | ||
kbnTestServer: { | ||
...functionalConfig.get('kbnTestServer'), | ||
serverArgs: [ | ||
...functionalConfig.get('kbnTestServer.serverArgs'), | ||
`--xpack.securitySolution.enableExperimental=${JSON.stringify([])}`, | ||
], | ||
}, | ||
testFiles: [require.resolve('../ess/trial')], | ||
junit: { | ||
reportName: 'Timeline Integration Tests - ESS Env - Trial License', | ||
}, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.