Skip to content
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

Fix and unskip integration test suite #97144

Merged

Conversation

crob611
Copy link
Contributor

@crob611 crob611 commented Apr 14, 2021

Summary

For some reason, was waiting until plugin start to register the embeddable factory server side. This was causing migrations to fail on startup.

This moves the registration to happen in setup, and unskips the test suite in question.

@crob611 crob611 requested review from a team as code owners April 14, 2021 16:22
@crob611 crob611 added Feature:Dashboard Dashboard related features loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.13.0 v8.0.0 labels Apr 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@crob611
Copy link
Contributor Author

crob611 commented Apr 14, 2021

@elasticmachine merge upstream

@crob611 crob611 added the impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. label Apr 14, 2021
@@ -230,7 +230,7 @@ export class MonitoringPlugin
if (this.cluster) {
this.cluster.close();
}
if (this.licenseService) {
if (this.licenseService && this.licenseService.stop) {
Copy link
Contributor

@mshustov mshustov Apr 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's necessary because the server crashes if it calls stop before start.

@mshustov
Copy link
Contributor

@elasticmachine merge upstream

@crob611
Copy link
Contributor Author

crob611 commented Apr 19, 2021

@elasticmachine merge upstream

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code only review - makes sense and LGTM!

@crob611 crob611 added the auto-backport Deprecated - use backport:version if exact versions are needed label Apr 19, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@crob611 crob611 merged commit 6712bc0 into elastic:master Apr 19, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 97144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Dashboard Dashboard related features impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants