Skip to content

Fix the sample tests for logstash service and stack monitoring#6731

Merged
robbavey merged 2 commits intoelastic:feature/logstashfrom
robbavey:fix_sample_tests
Apr 27, 2023
Merged

Fix the sample tests for logstash service and stack monitoring#6731
robbavey merged 2 commits intoelastic:feature/logstashfrom
robbavey:fix_sample_tests

Conversation

@robbavey
Copy link
Member

The stack monitoring tests were failing as the builder was not creating the monitoring elasticsearch references. This was added, as well as a minor refactoring to split the builder into adding metrics and logging monitoring separately.

This commit also calculates the the monitoring assocation counts correctly, as previously the metrics association was double counted.

This commit also fixes the logstash service sample end to end test - the pipeline id in the yaml definition did not match that in the test.

The stack monitoring tests were failing as the builder was not creating the monitoring
elasticsearch references. This was added, as well as a minor refactoring to split the builder
into adding metrics and logging monitoring separately.

This commit also calculates the the monitoring assocation counts correctly, as previously
the metrics association was double counted.

This commit also fixes the logstash service sample end to end test - the pipeline id in the
yaml definition did not match that in the test.
@botelastic botelastic bot added the triage label Apr 26, 2023
@barkbay barkbay added the >test Related to unit/integration/e2e tests label Apr 27, 2023
@botelastic botelastic bot removed the triage label Apr 27, 2023
Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

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

LGTM!

Co-authored-by: Michael Morello <michael.morello@gmail.com>
@robbavey robbavey merged commit f03aa79 into elastic:feature/logstash Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:logstash >test Related to unit/integration/e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants