cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [3/7] git commit: updated refs/heads/master to 11dd9fb
Date Thu, 08 Dec 2016 11:49:12 GMT
CLOUDSTACK-9584: Fix intermittent test failure in `test_volumes`

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6ebf0245
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6ebf0245
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6ebf0245

Branch: refs/heads/master
Commit: 6ebf02454b36f09d8090ff333ae0e6738397c7e5
Parents: de7a06e
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Dec 8 16:25:40 2016 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Dec 8 16:25:40 2016 +0530

----------------------------------------------------------------------
 test/integration/component/test_volumes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6ebf0245/test/integration/component/test_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_volumes.py b/test/integration/component/test_volumes.py
index 77d8679..0dccc46 100644
--- a/test/integration/component/test_volumes.py
+++ b/test/integration/component/test_volumes.py
@@ -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" %


Mime
View raw message