diff options
author | Navya <navyax.bathula@intel.com> | 2017-10-05 23:01:45 -0700 |
---|---|---|
committer | Navya <navyax.bathula@intel.com> | 2017-10-05 23:01:45 -0700 |
commit | a7c381437eadec0a7ccb694a6b9461f4f03c1484 (patch) | |
tree | 7825bf18bebf6ec7e0f95c01af97807d365c9a15 | |
parent | 819311d189b28389472d5ac9c399c581a92c7dd3 (diff) |
KVMFORNFV:Livemigration testcase changes in Yardstick
This patch includes changing the function call to place the
respective bash file to the given TARGET_SCRIPT path.
Change-Id: Iba2adf4bdb6d9045493f5099e29ade4e8e6b5cd3
Signed-off-by: Navya <navyax.bathula@intel.com>
-rw-r--r-- | yardstick/benchmark/scenarios/compute/qemu_migrate.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/benchmark/scenarios/compute/qemu_migrate.py b/yardstick/benchmark/scenarios/compute/qemu_migrate.py index 6cfedc17a..2de1270ef 100644 --- a/yardstick/benchmark/scenarios/compute/qemu_migrate.py +++ b/yardstick/benchmark/scenarios/compute/qemu_migrate.py @@ -26,7 +26,7 @@ class QemuMigrate(base.Scenario): __scenario_type__ = "QemuMigrate" TARGET_SCRIPT = "qemu_migrate_benchmark.bash" - WORKSPACE = "/root/workspace" + WORKSPACE = "/root/workspace/" REBOOT_CMD_PATTERN = r";\s*reboot\b" def __init__(self, scenario_cfg, context_cfg): @@ -89,7 +89,8 @@ class QemuMigrate(base.Scenario): self.target_script = pkg_resources.resource_filename( "yardstick.benchmark.scenarios.compute", QemuMigrate.TARGET_SCRIPT) - self.host.put_file(self.target_script, "~/qemu_migrate_benchmark.sh") + self.host._put_file_shell( + self.target_script, "~/qemu_migrate_benchmark.sh") self.setup_done = True |