Skip to content

Create integration test for rally and many tracks.#2052

Open
fressi-elastic wants to merge 19 commits intoelastic:masterfrom
fressi-elastic:it/tracks_test
Open

Create integration test for rally and many tracks.#2052
fressi-elastic wants to merge 19 commits intoelastic:masterfrom
fressi-elastic:it/tracks_test

Conversation

@fressi-elastic
Copy link
Copy Markdown
Contributor

With the purpose of executing integration testing between rally and many tracks I created an integration test case that executed rally races in test mode against all know track names. It uses docker compose to run commands in a container.

- compose.yaml: add es01 to elastic-net so rally can reach Elasticsearch;
  keep depends_on es01 with condition service_healthy
- test every track versus elastic search versions 8 and 9
- esrally/track/loader.py: updates for track loading
- it/tracks_test.py: adjust integration tests
- replace it/resources/track-names.txt with pregerated output from 'esrally track list' command.

Made-with: Cursor
- Add integration_test_prerequisites, integration_test_config,
  es_metrics_store, and rally_docker_image as session-scoped fixtures
  in it/conftest.py so they can be requested individually.
- Redefine shared_setup as a composite fixture that depends on
  integration_test_config, es_metrics_store, and rally_docker_image.
- Make all integration tests that need the full environment request
  shared_setup explicitly (basic, list, distribution, tracker,
  docker_dev_image, proxy, error, info, esrallyd, static_responses,
  sources, download, dependencies).
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.

1 participant