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

[Heartbeat] Use go-lookslike instead of mapval for heartbeat tests #12540

Merged
merged 12 commits into from
Jun 19, 2019

Conversation

andrewvc
Copy link
Contributor

This switches our usage the built-in mapval package out in favor of the open-sourced go-lookslike package in heartbeat. There are some other places where this is used, but this is a good starting point.

We can eventually delete mapval in a subsequent PR.

@andrewvc andrewvc requested a review from ruflin June 14, 2019 02:33
@andrewvc andrewvc requested a review from a team as a code owner June 14, 2019 02:33
@andrewvc andrewvc self-assigned this Jun 14, 2019
@andrewvc andrewvc changed the title Use go-lookslike instead of mapval for heartbeat tests [Heartbeat] Use go-lookslike instead of mapval for heartbeat tests Jun 14, 2019
@andrewvc andrewvc added Team:obs-ds-hosted-services Label for the Observability Hosted Services team enhancement Heartbeat labels Jun 14, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime

Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

Overall LGTM but we should add a changelog entry, probably the dev changelog could be a good place?

heartbeat/hbtest/hbtestutil.go Outdated Show resolved Hide resolved
heartbeat/monitors/active/http/http_test.go Outdated Show resolved Hide resolved
vendor/vendor.json Show resolved Hide resolved
@andrewvc
Copy link
Contributor Author

@ruflin I've addressed all your comments!

@andrewvc
Copy link
Contributor Author

jenkins, please retest this

@andrewvc
Copy link
Contributor Author

jenkins, retest this please

1 similar comment
@andrewvc
Copy link
Contributor Author

jenkins, retest this please

@andrewvc
Copy link
Contributor Author

Jenkins, retest this please

@andrewvc
Copy link
Contributor Author

jenkins, retest this please

1 similar comment
@andrewvc
Copy link
Contributor Author

jenkins, retest this please

@andrewvc
Copy link
Contributor Author

Filebeat failure on travis is unrelated

@andrewvc andrewvc merged commit 2c70a2b into elastic:master Jun 19, 2019
@andrewvc andrewvc deleted the use-go-lookslike branch June 19, 2019 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants