mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4422: Corrected the wrong service paths
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit cff832044043a361d360f775c7227a77ac99509a)
This commit is contained in:
parent
502c1db103
commit
26705cf53f
@ -668,21 +668,21 @@ class TestSnapshots(cloudstackTestCase):
|
|||||||
),
|
),
|
||||||
"pushd %s" % self.services["paths"]["mount_dir"],
|
"pushd %s" % self.services["paths"]["mount_dir"],
|
||||||
"mkdir -p %s/{%s,%s} " % (
|
"mkdir -p %s/{%s,%s} " % (
|
||||||
self.services["sub_dir"],
|
self.services["paths"]["sub_dir"],
|
||||||
self.services["sub_lvl_dir1"],
|
self.services["paths"]["sub_lvl_dir1"],
|
||||||
self.services["sub_lvl_dir2"]
|
self.services["paths"]["sub_lvl_dir2"]
|
||||||
),
|
),
|
||||||
"echo %s > %s/%s/%s" % (
|
"echo %s > %s/%s/%s" % (
|
||||||
random_data_0,
|
random_data_0,
|
||||||
self.services["sub_dir"],
|
self.services["paths"]["sub_dir"],
|
||||||
self.services["sub_lvl_dir1"],
|
self.services["paths"]["sub_lvl_dir1"],
|
||||||
self.services["random_data"]
|
self.services["paths"]["random_data"]
|
||||||
),
|
),
|
||||||
"echo %s > %s/%s/%s" % (
|
"echo %s > %s/%s/%s" % (
|
||||||
random_data_1,
|
random_data_1,
|
||||||
self.services["sub_dir"],
|
self.services["paths"]["sub_dir"],
|
||||||
self.services["sub_lvl_dir2"],
|
self.services["paths"]["sub_lvl_dir2"],
|
||||||
self.services["random_data"]
|
self.services["paths"]["random_data"]
|
||||||
),
|
),
|
||||||
"sync",
|
"sync",
|
||||||
]
|
]
|
||||||
@ -728,7 +728,7 @@ class TestSnapshots(cloudstackTestCase):
|
|||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.fail("SSH failed for VM with IP: %s - %s" %
|
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(
|
qresultset = self.dbclient.execute(
|
||||||
"select id from snapshots where uuid = '%s';" \
|
"select id from snapshots where uuid = '%s';" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user