summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/storperf-master/rest_server.py2
-rw-r--r--docker/storperf-master/storperf/test_executor.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py
index 020517a..92b6c85 100644
--- a/docker/storperf-master/rest_server.py
+++ b/docker/storperf-master/rest_server.py
@@ -525,6 +525,8 @@ the last stack named.
storperf.block_sizes = request.json['block_sizes']
storperf.workloads = None
storperf.custom_workloads = None
+ if ('workload' in request.json):
+ storperf.workloads = request.json['workload']
if ('workloads' in request.json):
storperf.custom_workloads = request.json['workloads']
if ('metadata' in request.json):
diff --git a/docker/storperf-master/storperf/test_executor.py b/docker/storperf-master/storperf/test_executor.py
index 9e1736d..f7b577e 100644
--- a/docker/storperf-master/storperf/test_executor.py
+++ b/docker/storperf-master/storperf/test_executor.py
@@ -268,6 +268,7 @@ class TestExecutor(object):
thread_pool = ThreadPool(processes=len(self.slaves) *
self.volume_count)
+ self._workload_executors = []
for slave in self.slaves:
volume_number = 0
while volume_number < self.volume_count: