[ https://issues.apache.org/jira/browse/CLOUDSTACK-8975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966619#comment-14966619 ]
ASF GitHub Bot commented on CLOUDSTACK-8975: -------------------------------------------- GitHub user nitt10prashant opened a pull request: https://github.com/apache/cloudstack/pull/960 CLOUDSTACK-8975:skip test case if niciraNvp settings are not available in config file root/cloudstack/test/integration/smoke/test_nicira_controller.py is failing if niciraNvp settings are not available in config file. Modifying script to skip test case if settings are not available test result ======= test_01_nicira_controller (integration.smoke.test_nicira_controller.TestNiciraContoller) ... SKIP: nicira settings not found in config file Nicira clusters will redirect clients (in this case ACS) to the master node. ... SKIP: nicira settings not found in config file ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK (SKIP=2) You can merge this pull request into a Git repository by running: $ git pull https://github.com/nitt10prashant/cloudstack nicira Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/960.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #960 ---- commit 07b32dfa61cdaa5ed7140ce577cce2fdcfaf79e0 Author: nitt10prashant <nitt10.prash...@gmail.com> Date: 2015-10-21T10:39:47Z CLOUDSTACK-8975:skip test case if niciraNvp settings are not available in config file ---- > [Automation]skip test case if niciraNvp settings are not available in config > file > --------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8975 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8975 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.7.0 > Reporter: prashant kumar mishra > Assignee: prashant kumar mishra > Priority: Minor > Fix For: 4.7.0 > > > /root/cloudstack/test/integration/smoke/test_nicira_controller.py is > failing if niciraNvp settings are not available in config file. Modifying > script to skip test case if settings are not available > log > ======= > File "/root/cloudstack/test/integration/smoke/test_nicira_controller.py", > line 46, in setUpClass > cls.nicira_hosts = cls.config.niciraNvp.hosts > AttributeError: 'NoneType' object has no attribute 'hosts' > -------------------- >> begin captured stdout << --------------------- > === TestName: None | Status : EXCEPTION === -- This message was sent by Atlassian JIRA (v6.3.4#6332)