From 26705cf53f1aa6596569e1370b8ea99aedec6f5e Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Tue, 20 Aug 2013 22:41:05 -0400 Subject: [PATCH] CLOUDSTACK-4422: Corrected the wrong service paths Signed-off-by: Prasanna Santhanam (cherry picked from commit cff832044043a361d360f775c7227a77ac99509a) --- test/integration/component/test_snapshots.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py index 044e41a4936..cc2e6047519 100644 --- a/test/integration/component/test_snapshots.py +++ b/test/integration/component/test_snapshots.py @@ -668,21 +668,21 @@ class TestSnapshots(cloudstackTestCase): ), "pushd %s" % self.services["paths"]["mount_dir"], "mkdir -p %s/{%s,%s} " % ( - self.services["sub_dir"], - self.services["sub_lvl_dir1"], - self.services["sub_lvl_dir2"] + self.services["paths"]["sub_dir"], + self.services["paths"]["sub_lvl_dir1"], + self.services["paths"]["sub_lvl_dir2"] ), "echo %s > %s/%s/%s" % ( random_data_0, - self.services["sub_dir"], - self.services["sub_lvl_dir1"], - self.services["random_data"] + self.services["paths"]["sub_dir"], + self.services["paths"]["sub_lvl_dir1"], + self.services["paths"]["random_data"] ), "echo %s > %s/%s/%s" % ( random_data_1, - self.services["sub_dir"], - self.services["sub_lvl_dir2"], - self.services["random_data"] + self.services["paths"]["sub_dir"], + self.services["paths"]["sub_lvl_dir2"], + self.services["paths"]["random_data"] ), "sync", ] @@ -728,7 +728,7 @@ class TestSnapshots(cloudstackTestCase): ) except Exception as e: self.fail("SSH failed for VM with IP: %s - %s" % - (self.virtual_machine.ipaddress, e)) + (self.virtual_machine.ssh_ip, e)) qresultset = self.dbclient.execute( "select id from snapshots where uuid = '%s';" \