2437f21f64
We are not able to use relative imports for plugins that are outside of rally package. To fix this we should add to sys.path all directories with Rally plugins. This is quite easy fix. But in any case it includes functional test that checks that this actually works in real life. + Fix of Rally gates to copy whole tree not just *.py files from rally-jobs/plugins/ Change-Id: Ie53dc2ba5c32a5e83d84d0ea5703e2e04b10ff33 Closes-bug: #1446923 |
||
---|---|---|
.. | ||
test_relative_import | ||
__init__.py | ||
fake_plugin.py | ||
README.rst |
Rally plugins
All *.py modules from this directory will be auto-loaded by Rally and all plugins will be discoverable. There is no need of any extra configuration and there is no difference between writing them here and in rally code base.
Note that it is better to push all interesting and useful benchmarks to Rally code base, this simplifies administration for Operators.