Allow multiple initializes 63/59863/1
authormbeierl <mark.beierl@dell.com>
Mon, 16 Jul 2018 16:14:37 +0000 (12:14 -0400)
committermbeierl <mark.beierl@dell.com>
Mon, 16 Jul 2018 16:14:37 +0000 (12:14 -0400)
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>
docker/storperf-master/rest_server.py

index 8544f19..463a793 100644 (file)
@@ -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})