aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick
diff options
context:
space:
mode:
authorNavya <navyax.bathula@intel.com>2017-10-05 23:01:45 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-10 15:51:32 -0700
commit2ed5cc6c71db4cc3ca5f9c3f1e2494f562faa79a (patch)
tree7918d4849edcf004c0aae15f7a926d046c3ada8c /yardstick
parent5af56f89a0f40fb644e7bb114779635843fc2ffb (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>
Diffstat (limited to 'yardstick')
-rw-r--r--yardstick/benchmark/scenarios/compute/qemu_migrate.py5
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