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

elasticsearch: add known unhandled libbeat config to test #3800

Merged
merged 1 commit into from
May 18, 2020

Conversation

axw
Copy link
Member

@axw axw commented May 18, 2020

Motivation/summary

Additions to libbeat config are not checked. Beats added Kerberos auth support, which we should mirror in our client (#3794). To make sure we keep on top of libbeat config changes, we should update the test to add a list of known fields in libbeat's config that we explicitly don't mirror.

Checklist

I have considered changes for:
- [ ] documentation
- [ ] logging (add log lines, choose appropriate log selector, etc.)
- [ ] metrics and monitoring (create issue for Kibana team to add metrics to visualizations, e.g. Kibana#44001)

  • automated tests (add tests for the code changes, all unit tests pass locally)

- [ ] telemetry
- [ ] Elasticsearch Service (https://cloud.elastic.co)
- [ ] Elastic Cloud Enterprise (https://www.elastic.co/products/ece)
- [ ] Elastic Cloud on Kubernetes (https://www.elastic.co/elastic-cloud-kubernetes)

How to test these changes

go test ./elasticsearch

Related issues

Closes #3795

@codecov-io
Copy link

Codecov Report

Merging #3800 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3800   +/-   ##
=======================================
  Coverage   79.84%   79.84%           
=======================================
  Files         136      136           
  Lines        6158     6158           
=======================================
  Hits         4917     4917           
  Misses       1241     1241           

@apmmachine
Copy link
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 3227
Skipped 145
Total 3372

@axw axw merged commit fa9bc09 into elastic:master May 18, 2020
@axw axw deleted the elasticsearch-config-test branch May 18, 2020 12:51
axw added a commit to axw/apm-server that referenced this pull request May 19, 2020
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.

elasticsearch: add known discrepancies to TestBeatsConfigSynced
4 participants