-
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
[FTR](index management) update common serverless api tests to use api keys #184105
[FTR](index management) update common serverless api tests to use api keys #184105
Conversation
/ci |
07191d0
to
a3ac2aa
Compare
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6144[❌] x-pack/test_serverless/api_integration/test_suites/observability/common_configs/config.group1.ts: 0/1 tests passed. |
a3ac2aa
to
a91642c
Compare
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6211[❌] x-pack/test_serverless/api_integration/test_suites/observability/common_configs/config.group1.ts: 0/1 tests passed. |
/ci |
1 similar comment
/ci |
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.
Who can l speak with about elastic an kabana .
@Oscurz Perhaps our discuss site would prove most helpful: |
/ci |
6f5f49a
to
e45cd40
Compare
/ci |
e45cd40
to
8858779
Compare
/ci |
1 similar comment
/ci |
0c69347
to
67e517f
Compare
/ci |
2 similar comments
/ci |
/ci |
7711651
to
74440cf
Compare
/ci |
1 similar comment
/ci |
f387b62
to
ec7467f
Compare
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 LGTM, thanks!
Could you also run the flaky test runner on the latest changes?
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6459 (all three common configs) |
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.
I like the helpers code moved from tests into FTR services, makes it easy to read tests. 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.
Left a few comments and questions, mostly around skipped tests.
x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/index_templates.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/index_templates.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/index_templates.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/index_templates.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/settings.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/settings.ts
Outdated
Show resolved
Hide resolved
x-pack/test_serverless/api_integration/test_suites/common/index_management/settings.ts
Outdated
Show resolved
Hide resolved
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6459[✅] x-pack/test_serverless/api_integration/test_suites/security/common_configs/config.group1.ts: 25/25 tests passed. |
…vrless-api-tests/index_management
x-pack/test_serverless/api_integration/test_suites/common/index_management/datastreams.ts
Outdated
Show resolved
Hide resolved
…vrless-api-tests/index_management
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
History
|
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.
LGTM
Summary
Use api keys for api calls, to act as a real user not the operator user, within:
x-pack/test_serverless/api_integration/test_suites/common/index_management/
Update
test_serverless/README.md
Important (More helpers)
In order to create severless versions of statefull helpers that require role credentials, the pr adds a number of helpers to
x-pack/test_serverless/api_integration/services/index_management/svl_*.ts
With these additions, any given serverless api integration test can call the serverless version of a helper, and the stateful version of the helper, is left untouched.
Further, the type checker is satisfied (cant share code across boundaries, etc. mostly within the tsconfig.json files).
For Reviewers
Issues raised:
index_templates: #187368
datastreams: #187372
settings: #187369
Contributes to: #180834