cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Kumar Edukulla (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-4900) Return Codes for various Test APIs
Date Tue, 29 Oct 2013 11:44:30 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Santhosh Kumar Edukulla resolved CLOUDSTACK-4900.
-------------------------------------------------

    Resolution: Fixed

To facilitate this, we have added codes file and started using it wherever new changes going
ahead.

The idea is to mention all codes under one single codes.py file and use it uniformly as return
codes for method output. EX: PASS,FAIL,INVALID_INPUT. 

Whenever new test methods are written, apply and provide the readable and uniform error codes
for better usage.

We should not assume exception as return codes and both has different purpose.

Marking this fixed as this facility is available going ahead.

> Return Codes for various Test APIs
> ----------------------------------
>
>                 Key: CLOUDSTACK-4900
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4900
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Santhosh Kumar Edukulla
>            Assignee: Santhosh Kumar Edukulla
>
> Currently, there are no return codes for various API's like Create,Destroy, execute ,open
at various places under Marvin, Instead the better thing is to provide proper return codes
and let the feature owner decide failed\passed based upon return codes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message