You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2016/12/08 11:49:12 UTC
[3/7] git commit: updated refs/heads/master to 11dd9fb
CLOUDSTACK-9584: Fix intermittent test failure in `test_volumes`
Signed-off-by: Rohit Yadav <ro...@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 <ro...@shapeblue.com>
Authored: Thu Dec 8 16:25:40 2016 +0530
Committer: Rohit Yadav <ro...@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" %