Skip to content

test(inputs.elasticsearch_query): Refactor unit-tests#18836

Open
srebhan wants to merge 2 commits intoinfluxdata:masterfrom
srebhan:elasticsearch_issue_12099
Open

test(inputs.elasticsearch_query): Refactor unit-tests#18836
srebhan wants to merge 2 commits intoinfluxdata:masterfrom
srebhan:elasticsearch_issue_12099

Conversation

@srebhan
Copy link
Copy Markdown
Member

@srebhan srebhan commented May 4, 2026

Summary

This PR clean the unit-tests by merging all tests into two remaining ones; one for testing successful queries and one for testing failing queries. Furthermore, test-code is simplified by dropping the log-file parsing and keep the parsed result instead.

Checklist

Related issues

related to #12099

@telegraf-tiger telegraf-tiger Bot added plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins test labels May 4, 2026
@telegraf-tiger
Copy link
Copy Markdown
Contributor

telegraf-tiger Bot commented May 4, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant