-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SecuritySolution] Remove duplicated serverless tests #188855
Conversation
buildkite test this |
/ci |
@@ -8,7 +8,7 @@ | |||
import { FtrProviderContextWithSpaces } from '../../../../../ftr_provider_context_with_spaces'; | |||
|
|||
export default function ({ loadTestFile }: FtrProviderContextWithSpaces) { | |||
describe('@ess SecuritySolution Timeline', () => { | |||
describe('@ess @serverless @skipInServerless SecuritySolution Timeline', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be included in #183645 (comment)
/ci |
/ci |
/ci |
buildkite test this |
/ci |
/ci |
/ci |
/ci |
/ci |
/ci |
Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x-pack/test_serverless/shared/services/bsearch_secure.ts
changes LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes Look good. thank you for the cleanup 🚀
@@ -20,7 +20,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { | |||
`--xpack.securitySolution.enableExperimental=${JSON.stringify([])}`, | |||
], | |||
}, | |||
testFiles: [require.resolve('../ess/basic')], | |||
testFiles: [require.resolve('../tests/basic')], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@angorayc , are these event running? I could not find a way to run these locally.
currently, in my ticket I was working towards enabling them as a part of MKI. We you able to run them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this branch I can see them is part of .buildkite/ftr_security_stateful_configs.yml
- x-pack/test/security_solution_api_integration/test_suites/investigation/timeline/security_and_spaces/configs/ess.basic.config.ts
- x-pack/test/security_solution_api_integration/test_suites/investigation/timeline/security_and_spaces/configs/ess.trial.config.ts
I had no problem to run them locally, it just tests in ess.trial.config.ts are skipped.
cd x-pack
node scripts/functional_tests_server.js --config ./test/security_solution_api_integration/test_suites/investigation/timeline/security_and_spaces/configs/ess.trial.config.ts
Once started, in another terminal
cd x-pack
node ../scripts/functional_test_runner --config=test/security_solution_api_integration/test_suites/investigation/timeline/security_and_spaces/configs/ess.trial.config.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh okay. I will checkout .buildkite/ftr_security_stateful_configs.yml
I had no problem to run them locally, it just tests in ess.trial.config.ts are skipped
Yes I was working on unskipping those but I was also reorganizing them based on licence similar to other folders so that they can also run in MKI. I need to check how re-org impacts .buildkite/ftr_security_stateful_configs.yml
Thanks for the info @angorayc .
Approved from |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Summary
How to run the api integration tests (Use Investigation Timeline ESS as an example)