-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helper to get hosts on metricbeat integration tests (#11925)
Add a helper to automatically obtain the host of a service in metricbeat integration tests so tests don't depend on environment variables or current running docker services. This is needed to allow in the future to run multiple versions of the same service, is also helpful when running tests locally. Environment variables with the format `SERVICE_HOST`, being SERVICE the uppercased name of the compose service can be used to override the automatic value. `NO_COMPOSE` environment variable can be used now to avoid stopping the running containers too. Add ports to all services in docker compose files, required for the helper. Part of #7957 for python-based integration tests.
- Loading branch information
Showing
37 changed files
with
216 additions
and
166 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.