cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8975) [Automation]skip test case if niciraNvp settings are not available in config file
Date Thu, 22 Oct 2015 10:08:27 GMT


ASF GitHub Bot commented on CLOUDSTACK-8975:

Github user pvr9711 commented on the pull request:
    @miguelaferreira - we have discussed this on an earlier email.  as Prashant said, In this
case a test case is skipped because the setup does not have the configuration needed for the
test to run.  the test will fail if the configuration is incorrect.  From that sense, IMHO
- test setup method is not coded to handle the possibility of configuration not being present
and hence needs a fix.   
    Just my 2 cents,  I would like to skip a test if I don't have the configuration.  As a
person running the BVTs, I will check all the test status and cannot ignore skipped tests.
  Also, BVTs are run every time when the build is kicked off.  If people keep adding their
own tests which not everyone can run then the importance of BVTs is gone and we will never
achieve 100% passrate.  If someone has specific tests they want to run, keep it in a different
folder and not keep it in smoke folder. Also, skipping tests is designed for a purpose.  
    @runseb we should establish some ground rules around BVTs otherwise we will have to do
conditional coding for running tests which is hard to maintain.  

> [Automation]skip test case if niciraNvp settings are not available in config file
> ---------------------------------------------------------------------------------
>                 Key: CLOUDSTACK-8975
>                 URL:
>             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/   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/", line 46, in
>     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

View raw message