Skip to content

Cherry-pick #17334 to 7.x: Add test for documented fields check for metricsets without a http input#17439

Merged
narph merged 2 commits intoelastic:7.xfrom
narph:backport_17334_7.x
Apr 6, 2020
Merged

Cherry-pick #17334 to 7.x: Add test for documented fields check for metricsets without a http input#17439
narph merged 2 commits intoelastic:7.xfrom
narph:backport_17334_7.x

Conversation

@narph
Copy link
Copy Markdown
Contributor

@narph narph commented Apr 2, 2020

Cherry-pick of PR #17334 to 7.x branch. Original message:

What does this PR do?

Adds a test to check that the metricset fields are documented based on the events generated in the integration tests.

Why is it important?

This is a step in the requirements for moving modules/metricsets to GA.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

Add mbtest.TestMetricsetFieldsDocumented to the integration test

Related issues

narph added 2 commits April 2, 2020 16:21
…put (elastic#17334)

* add test for documented fields

* changelog

* work on test

* add test for testdata

* fmt update

(cherry picked from commit e545836)
@narph narph self-assigned this Apr 3, 2020
@narph narph added [zube]: In Review backport Team:Integrations Label for the Integrations team labels Apr 3, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

Copy link
Copy Markdown
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

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

Looks good.

@narph
Copy link
Copy Markdown
Contributor Author

narph commented Apr 6, 2020

jenkins, test this please

@narph narph merged commit 33daf30 into elastic:7.x Apr 6, 2020
@narph narph deleted the backport_17334_7.x branch April 6, 2020 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants