mirror of https://github.com/apache/cloudstack.git
Merge pull request #1822 from shapeblue/4.9-travis-testfix
CLOUDSTACK-9584: Fix intermittent test failure in `test_volumes`The component/test_volume failures happen when disk offering is random selected to be a custom one. This fixes that. * pr/1822: CLOUDSTACK-9584: Fix intermittent test failure in `test_volumes` Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
commit
26a2c9ee9b
|
|
@ -1261,7 +1261,7 @@ class TestVolumes(cloudstackTestCase):
|
|||
zoneid=self.zone.id,
|
||||
account=domuser.name,
|
||||
domainid=dom.id,
|
||||
diskofferingid=diskoffering[0].id
|
||||
diskofferingid=filter(lambda x: not x.iscustomized, diskoffering)[0].id
|
||||
)
|
||||
self.assertTrue(
|
||||
vol is not None, "volume creation fails in domain %s as user %s" %
|
||||
|
|
|
|||
Loading…
Reference in New Issue