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

Improve template testing #3425

Merged
merged 1 commit into from
Jan 20, 2017
Merged

Improve template testing #3425

merged 1 commit into from
Jan 20, 2017

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Jan 20, 2017

Template tests broke in the past several times because we have a test template which is not updated automatically. The tests are now changed so that the libbeat template is generated and tested. This guarantees that the templates we actually use are tested. This requires for integration tests also for libbeat to be called make update.

  • Switch to update also for libbeat.
  • Files generated by update are added go .gitignore as these files should not be versioned.
  • Add heartbeat to template tests
  • Remove static test templates as not needed anymore.

@ruflin ruflin added in progress Pull request is currently in progress. :Testing labels Jan 20, 2017
Template tests broke in the past several times because we have a test template which is not updated automatically. The tests are now changed so that the libbeat template is generated and tested. This guarantees that the templates we actually use are tested. This requires for integration tests also for libbeat to be called `make update`.

* Switch to `update` also for libbeat.
* Files generated by `update` are added go `.gitignore` as these files should not be versioned.
* Add heartbeat to template tests
* Remove static test templates as not needed anymore.
@ruflin ruflin force-pushed the template-improvements branch from 17602be to d5e91a1 Compare January 20, 2017 07:49
@ruflin ruflin changed the title Improve template tests Improve template testing Jan 20, 2017
@ruflin ruflin added review and removed in progress Pull request is currently in progress. labels Jan 20, 2017
Copy link
Contributor

@tsg tsg left a comment

Choose a reason for hiding this comment

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

LGTM.

@tsg tsg merged commit f957f70 into elastic:master Jan 20, 2017
@ruflin ruflin deleted the template-improvements branch January 20, 2017 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants