summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2018-07-16 12:14:37 -0400
committermbeierl <mark.beierl@dell.com>2018-07-16 12:14:37 -0400
commit30576e42f8d8e28fc21a5dad458cd60ba7d22391 (patch)
tree224e57801ad0285cd9bf41beaf17d43e9032e324 /docker
parent35643d32b7597c08af835c67ea76c1437d41330e (diff)
Allow multiple initializes
Fixes a bug where custom workloads could take priority over the initialization API and the warm up does not actually work Change-Id: I984fc8d5e8e2871bb7f4420924efe38e2608cb4d Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/storperf-master/rest_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/storperf-master/rest_server.py b/docker/storperf-master/rest_server.py
index 8544f19..463a793 100644
--- a/docker/storperf-master/rest_server.py
+++ b/docker/storperf-master/rest_server.py
@@ -523,6 +523,7 @@ target is specified, it will default to /dev/vdb
storperf.queue_depths = "8"
storperf.block_sizes = "8192"
storperf.workloads = "_warm_up"
+ storperf.custom_workloads = None
job_id = storperf.execute_workloads()
return jsonify({'job_id': job_id})