Add test runner for Metricbeat integration tests#13039
Closed
jsoriano wants to merge 8 commits intoelastic:masterfrom
Closed
Add test runner for Metricbeat integration tests#13039jsoriano wants to merge 8 commits intoelastic:masterfrom
jsoriano wants to merge 8 commits intoelastic:masterfrom
Conversation
houndci-bot
reviewed
Jul 23, 2019
houndci-bot
reviewed
Jul 23, 2019
d9f73a4 to
7cab45c
Compare
7cab45c to
71b7c2f
Compare
houndci-bot
reviewed
Jul 24, 2019
houndci-bot
reviewed
Jul 24, 2019
houndci-bot
reviewed
Jul 24, 2019
85a899f to
33330a3
Compare
33330a3 to
5225e39
Compare
Member
Author
|
Closing this by now, to be reopened if we consider it needed after https://github.com/elastic/metricbeat-tests-poc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new test runner for Metricbeat integration tests that
can be used to run tests on multiple versions. It also includes
helpers to obtain the host of a service automatically from the
docker daemon without requiring additional environment
variables.
This is part of #7957, adapted so it can be implemented in
smaller steps.
EnsureUpis kept, but only works with aservice now. Multiple services can still be managed by
docker compose dependencies.
Apache module is migrated as example.
It runs tests with all the combination of versions in clean
instances. If tests want to be run against an instance,
SERVICE_HOSTenvironment variable can be used, e.g.for apache, to reuse an apache running in
localhost:32819tests can be run with:
APACHE_HOST=localhost:32819 go test -tags=integration ./module/apache/...Part of #7957, relates to #7822 and #12909.