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

Cherry-pick #8228 to 6.x: Additional Heartbeat Reload Tests #8548

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

andrewvc
Copy link
Contributor

@andrewvc andrewvc commented Oct 3, 2018

Cherry-pick of PR #8228 to 6.x branch. Original message:

This PR attempts to improve the testing and testability of heartbeat in the following ways:

  1. Adds a mocked test of the Monitor type
  2. Minimizes the required mockable area by introducing a PipelineConnector type that is easier to mock than a Pipeline.
  3. Introduces a number of useful mocks for future tests potentially.

* Adds a mocked test of the Monitor type
* Minimizes the required mockable area by introducing a PipelineConnector type that is easier to mock than a Pipeline.
* Introduces a number of useful mocks for future tests potentially.

(cherry picked from commit 0417f98)
@andrewvc andrewvc merged commit ae2569f into elastic:6.x Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants