Skip to content

[Logs UI] Add tests to the log alert executor#64881

Merged
afgomez merged 7 commits intoelastic:masterfrom
afgomez:alert-log-executor-test
May 6, 2020
Merged

[Logs UI] Add tests to the log alert executor#64881
afgomez merged 7 commits intoelastic:masterfrom
afgomez:alert-log-executor-test

Conversation

@afgomez
Copy link
Copy Markdown
Contributor

@afgomez afgomez commented Apr 30, 2020

Summary

Add tests for createLogThresholdExecutor function

Checklist

@afgomez afgomez force-pushed the alert-log-executor-test branch from 5449433 to 5a00417 Compare April 30, 2020 16:03
@afgomez afgomez added Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 v8.0.0 labels Apr 30, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@afgomez afgomez added the release_note:skip Skip the PR/issue when compiling release notes label Apr 30, 2020
@afgomez afgomez requested a review from Kerry350 April 30, 2020 16:12
@afgomez afgomez marked this pull request as ready for review April 30, 2020 16:12
@afgomez afgomez requested a review from a team as a code owner April 30, 2020 16:12
Copy link
Copy Markdown
Contributor

@Kerry350 Kerry350 left a comment

Choose a reason for hiding this comment

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

Ace, LGTM 👍

return alertInstance.instance;
});

// services.callCluster.mockImplementation(async (_: string, { body, index }: any) => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can this be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ah! yes. Sorry

@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

History

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

@afgomez afgomez merged commit 8581ba8 into elastic:master May 6, 2020
@afgomez afgomez deleted the alert-log-executor-test branch May 6, 2020 15:37
afgomez pushed a commit to afgomez/kibana that referenced this pull request May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants