-
Notifications
You must be signed in to change notification settings - Fork 313
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
Install dependencies when listing tracks #1817
base: master
Are you sure you want to change the base?
Conversation
`esrally list tracks` attempts to load plugins for each track, and if a dependency is missing, Rally exits with an error. Dependencies can be specified in track.json, however by default we don't install them every time we load a track, because doing so involves shelling out to pip. This commit changes `list tracks` to install any necessary dependencies during track loading.
I've noticed 3 issues here so far:
Logs with debug level enabled in
By comparison, a log without this change looks like this:
I don't understand why it's failing as
Parsing starts too early which explains incorrect track and challenge in the failing tests:
It's interesting that in the nox session Rally uses in tests,
|
esrally list tracks
attempts to load plugins for each track, and if a dependency is missing, Rally exits with an error.Dependencies can be specified in track.json, however by default we don't install them every time we load a track, because doing so involves shelling out to pip.
This commit changes
list tracks
to install any necessary dependencies during track loading.