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/08/29 06:45:19 UTC
[2/2] git commit: updated refs/heads/4.9 to b9801ef
Merge pull request #1648 from shapeblue/4.9-fixmarvintest
test/integration: fix tearDown order in list_acl_ teststest/integration: fix tearDown order in list_acl_ tests
In several of the list_acl_tests, the tests run for simulator only where
in the (class) setup domains and accounts are created for the test. When the
tests end the (class) teardown methods would delete and remove these resources.
Due to dependence of one of the resources on the other, domain2 on domain1,
domain2 needs to be removed/cleaned up before domain1. Due to this issue,
several Travis test runs have failed in the past such as:
https://travis-ci.org/apache/cloudstack/jobs/152610967
https://travis-ci.org/apache/cloudstack/jobs/152610968
Changing the order of cleanup fixes the tests.
/cc @jburwell @karuturi
The fix is specific to tests that run 'only' on simulator with Travis. A passing Travis run should be enough to validate the changes.
* pr/1648:
test/integration: fix tearDown order in list_acl_ tests
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/b9801ef4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b9801ef4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b9801ef4
Branch: refs/heads/4.9
Commit: b9801ef475142a510fef629db1c292a51c9717fa
Parents: f7d6fea 157b814
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Mon Aug 29 12:10:33 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Aug 29 12:10:34 2016 +0530
----------------------------------------------------------------------
test/integration/component/test_acl_listsnapshot.py | 9 +++++----
test/integration/component/test_acl_listvm.py | 9 +++++----
test/integration/component/test_acl_listvolume.py | 9 +++++----
3 files changed, 15 insertions(+), 12 deletions(-)
----------------------------------------------------------------------