diff options
author | Navya <navyax.bathula@intel.com> | 2017-10-16 07:26:41 -0700 |
---|---|---|
committer | Navya Bathula <navyax.bathula@intel.com> | 2017-10-25 11:20:20 +0000 |
commit | 5a1f65d3e7d67488ee6f558dccfa5ca5581ddb65 (patch) | |
tree | 73bbce88702907b83cf50a3ffdd76a82656c2beb /yardstick/benchmark/scenarios/compute/qemu_migrate.py | |
parent | 1ca9d52152d54b51b4d9dcd6c429f114ad4fe24c (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>
Diffstat (limited to 'yardstick/benchmark/scenarios/compute/qemu_migrate.py')
-rw-r--r-- | yardstick/benchmark/scenarios/compute/qemu_migrate.py | 4 |
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 |