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

[tests] check all keys in events. #1847

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

simitt
Copy link
Contributor

@simitt simitt commented Jan 28, 2019

The system approval tests did not actually check the whole document, but only everything under the event key, @timestamp and context. Since we are moving out everything from context all the other top level keys have not been tested.

There are some exceptions:

  • observer: The information in observer is related to where the apm-server is running, so most of the values cannot be checked. The test only looks at the keys being present.
  • host: libbeat does automatically set host.name which is considered a bug right now and needs to be removed, see Ensure libbeat does not set host.name #1846

@simitt simitt merged commit a7739d7 into elastic:master Jan 28, 2019
@simitt simitt deleted the ecs-adapt-system-tests branch January 31, 2019 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants