aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorNavya <navyax.bathula@intel.com>2017-10-16 07:26:41 -0700
committerJing Lu <lvjing5@huawei.com>2017-12-04 00:52:03 +0000
commitc5bbc35193afa7a5265c6a00e8d245cb9486ca48 (patch)
tree9d5d58266bad2473431ff0181d8a0ce68e9b0be6 /yardstick
parent33c4ec6a7bb4abd30aeb3294950a57b70ac7bc6e (diff)
KVMFORNFV: To avoid livemigration result update to json
This patch is used to remove the livemigration testcase result loaded to json as there is no dashboard implemented for the testcase Change-Id: I7a9589a0bbc5f2a28587c2878da042fc50af18e0 Signed-off-by: Navya Bathula <navyax.bathula@intel.com> (cherry picked from commit 5a1f65d3e7d67488ee6f558dccfa5ca5581ddb65)
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/benchmark/scenarios/compute/qemu_migrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/compute/qemu_migrate.py b/yardstick/benchmark/scenarios/compute/qemu_migrate.py
index 2de1270ef..286d8cdaf 100644
--- a/yardstick/benchmark/scenarios/compute/qemu_migrate.py
+++ b/yardstick/benchmark/scenarios/compute/qemu_migrate.py
@@ -113,11 +113,11 @@ class QemuMigrate(base.Scenario):
if status:
raise RuntimeError(stderr)
- result.update(jsonutils.loads(stdout))
+ parsed_data = jsonutils.loads(stdout)
if "sla" in self.scenario_cfg:
sla_error = ""
- for t, timevalue in result.items():
+ for t, timevalue in parsed_data.items():
if 'max_%s' % t not in self.scenario_cfg['sla']:
continue