From: mbeierl Date: Mon, 16 Jul 2018 16:14:37 +0000 (-0400) Subject: Allow multiple initializes X-Git-Tag: opnfv-7.0.stable.RC1~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=30576e42f8d8e28fc21a5dad458cd60ba7d22391;p=storperf.git 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 --- 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})