diff options
Diffstat (limited to 'yardstick/benchmark')
-rw-r--r-- | yardstick/benchmark/runners/base.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yardstick/benchmark/runners/base.py b/yardstick/benchmark/runners/base.py index d8783f3c1..265e5d158 100644 --- a/yardstick/benchmark/runners/base.py +++ b/yardstick/benchmark/runners/base.py @@ -15,10 +15,14 @@ import time log = logging.getLogger(__name__) +from oslo_config import cfg + import yardstick.common.utils as utils from yardstick.benchmark.scenarios import base as base_scenario from yardstick.dispatcher.base import Base as DispatcherBase +CONF = cfg.CONF + def _output_serializer_main(filename, queue): '''entrypoint for the singleton subprocess writing to outfile @@ -26,7 +30,7 @@ def _output_serializer_main(filename, queue): messing up the output file. ''' config = {} - config["type"] = "File" + config["type"] = CONF.dispatcher.capitalize() config["file_path"] = filename dispatcher = DispatcherBase.get(config) |