mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix missing key
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
1a46bbd893
commit
d1c01a79a5
@ -282,7 +282,7 @@ class TestAccountSnapshotClean(cloudstackTestCase):
|
|||||||
ssh_client.execute(c)
|
ssh_client.execute(c)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.fail("SSH failed for management server: %s - %s" %
|
self.fail("SSH failed for management server: %s - %s" %
|
||||||
(self.services["mgmt_server"]["ipaddress"], e))
|
(self.config.mgtSvr[0].mgtSvrIp, e))
|
||||||
res = str(snapshots)
|
res = str(snapshots)
|
||||||
return res.count(snapshot_id) == 1
|
return res.count(snapshot_id) == 1
|
||||||
|
|
||||||
@ -401,4 +401,4 @@ class TestAccountSnapshotClean(cloudstackTestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
self.assertFalse(self.is_snapshot_on_nfs(snapshot_id), "Snapshot was still found no NFS after account gc")
|
self.assertFalse(self.is_snapshot_on_nfs(snapshot_id), "Snapshot was still found no NFS after account gc")
|
||||||
return
|
return
|
||||||
|
|||||||
@ -270,7 +270,7 @@ class TestSnapshotLimit(cloudstackTestCase):
|
|||||||
ssh_client.execute(c)
|
ssh_client.execute(c)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.fail("SSH failed for management server: %s - %s" %
|
self.fail("SSH failed for management server: %s - %s" %
|
||||||
(self.services["mgmt_server"]["ipaddress"], e))
|
(self.config.mgtSvr[0].mgtSvrIp, e))
|
||||||
res = str(snapshots)
|
res = str(snapshots)
|
||||||
return res.count(snapshot_id) == 1
|
return res.count(snapshot_id) == 1
|
||||||
|
|
||||||
@ -384,4 +384,4 @@ class TestSnapshotLimit(cloudstackTestCase):
|
|||||||
qresult = qresultset[0]
|
qresult = qresultset[0]
|
||||||
snapshot_id = qresult[0]
|
snapshot_id = qresult[0]
|
||||||
self.is_snapshot_on_nfs(snapshot_id)
|
self.is_snapshot_on_nfs(snapshot_id)
|
||||||
return
|
return
|
||||||
|
|||||||
@ -262,7 +262,7 @@ class TestSnapshots(cloudstackTestCase):
|
|||||||
ssh_client.execute(c)
|
ssh_client.execute(c)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.fail("SSH failed for management server: %s - %s" %
|
self.fail("SSH failed for management server: %s - %s" %
|
||||||
(self.services["mgmt_server"]["ipaddress"], e))
|
(self.config.mgtSvr[0].mgtSvrIp, e))
|
||||||
res = str(snapshots)
|
res = str(snapshots)
|
||||||
return res.count(snapshot_id) == 1
|
return res.count(snapshot_id) == 1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user