Skip to content

Commit 79edac0

Browse files
author
sanjeev
committed
Merge pull request #1130 from pritisarap12/CLOUDSTACK-9091-Update-testpath-for-parameter-issues
CLOUDSTACK-9091: Update testpath for parameter issuesIn testpath_volume_snapshot testpath creating volume from snapshot function is passing zonid parameter to function in base class but there it doesn't take as separate parameter it takes it from "services" so updating it. * pr/1130: CLOUDSTACK-9091: Update testpath for parameter issues Signed-off-by: sanjeev <[email protected]>
2 parents bcbdb2c + 358115d commit 79edac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/testpaths/testpath_volume_snapshot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,13 +805,13 @@ def test_01_volume_snapshot(self):
805805
event_list_validation_result[2])
806806
self.debug("Events list contains event SNAPSHOT.CREATE")
807807

808+
self.testdata["volume"]["zoneid"] = self.zone.id
808809
volumeFromSnap = Volume.create_from_snapshot(
809810
self.apiclient,
810811
data_vol_snap.id,
811812
self.testdata["volume"],
812813
account=self.account.name,
813814
domainid=self.account.domainid,
814-
zoneid=self.zone.id
815815
)
816816

817817
self.assertTrue(
@@ -926,13 +926,13 @@ def test_01_volume_snapshot(self):
926926
"Check resource id in list resources call"
927927
)
928928

929+
self.testdata["volume"]["zoneid"] = self.zone.id
929930
volumeFromSnap_2 = Volume.create_from_snapshot(
930931
self.apiclient,
931932
data_vol_snap_2.id,
932933
self.testdata["volume"],
933934
account=self.account.name,
934935
domainid=self.account.domainid,
935-
zoneid=self.zone.id
936936
)
937937

938938
self.vm_2.attach_volume(

0 commit comments

Comments
 (0)