Skip to content

mock the whole ES client in the integration tests#65081

Merged
mshustov merged 3 commits intoelastic:masterfrom
mshustov:fix-intergraion-tests-error
May 4, 2020
Merged

mock the whole ES client in the integration tests#65081
mshustov merged 3 commits intoelastic:masterfrom
mshustov:fix-intergraion-tests-error

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

@mshustov mshustov commented May 4, 2020

Summary

closes #64310
mock ES client to prevent plugins from calling callAsInternalUser.

Checklist

For maintainers

@mshustov mshustov added chore release_note:skip Skip the PR/issue when compiling release notes v7.8.0 Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// labels May 4, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@mshustov mshustov marked this pull request as ready for review May 4, 2020 15:39
@mshustov mshustov requested a review from a team as a code owner May 4, 2020 15:39
@mshustov
Copy link
Copy Markdown
Contributor Author

mshustov commented May 4, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov merged commit f98f4f2 into elastic:master May 4, 2020
mshustov added a commit to mshustov/kibana that referenced this pull request May 4, 2020
* mock the whole ES client to prevent real requests

* mock the whole client

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@mshustov mshustov deleted the fix-intergraion-tests-error branch May 4, 2020 19:52
spalger pushed a commit that referenced this pull request May 4, 2020
* mock the whole ES client to prevent real requests

* mock the whole client

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.8.0

Projects

None yet

4 participants