mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Modified further based on Travis failures
This commit is contained in:
parent
7d80c1b349
commit
d5d1bd9fc7
@ -350,7 +350,7 @@ class TestVmUsage(cloudstackTestCase):
|
||||
|
||||
self.assertEqual(
|
||||
qresult.count('VOLUME.DELETE'),
|
||||
2,
|
||||
1,
|
||||
"Check VOLUME.DELETE in events table"
|
||||
)
|
||||
return
|
||||
|
||||
@ -574,9 +574,8 @@ class TestVolumeUsage(cloudstackTestCase):
|
||||
"basic",
|
||||
"sg",
|
||||
"eip",
|
||||
"advancedns",
|
||||
"simulator"],
|
||||
required_hardware="false")
|
||||
"advancedns"],
|
||||
required_hardware="true")
|
||||
def test_01_volume_usage(self):
|
||||
"""Test Create/delete a volume and verify correct usage is recorded
|
||||
"""
|
||||
@ -697,10 +696,6 @@ class TestVolumeUsage(cloudstackTestCase):
|
||||
self.testdata["coreos_volume"][
|
||||
"url"] = self.testdata["coreos_volume"]["urlxen"]
|
||||
self.testdata["coreos_volume"]["format"] = "VHD"
|
||||
elif self.hypervisor == "simulator":
|
||||
self.testdata["coreos_volume"][
|
||||
"url"] = self.testdata["coreos_volume"]["urlxen"]
|
||||
self.testdata["coreos_volume"]["format"] = "VHD"
|
||||
|
||||
volume_uploaded = Volume.upload(
|
||||
self.apiclient,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user