Pass missing argument to get_workload_venv

False needs to be passed to get_workload_venv() in the run_workload() method
in shaker.py to get the path to the scenario file.

Change-Id: I4e0badf27dde8da82fa81d8ff5fc3b6def7f8761
This commit is contained in:
Sai Sindhur Malleni 2017-10-19 21:33:34 -04:00
parent 3a5b9d0ee6
commit fb9e4e4c7e
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class Shaker(workloadbase.WorkloadBase):
time_stamp = datetime.datetime.utcnow().strftime("%Y%m%d-%H%M%S")
self.logger.debug("Time Stamp (Prefix): {}".format(time_stamp))
scenarios = self.config.get('shaker')['scenarios']
venv = get_workload_venv('shaker')
venv = get_workload_venv('shaker', False)
default_time = 60
self.shaker_checks()
if (scenarios is not None and len(scenarios) > 0):