[openstack-qa] Refactoring Tempest service clients
Giulio Fidente
gfidente at redhat.com
Mon Jul 8 12:49:20 UTC 2013
On 07/02/2013 04:01 PM, David Kranz wrote:
>
> Resource management
> There was a discussion last year about whether resource management
> should be in the client or in the test class. I will try to dig it up
> from the old launchpad qa list if I can. We ended up managing this in
> the test classes. This is a complicated issue. If you have a proposal
> for how to do it differently the best thing would be to put up a WIP
> patch with the essence of the base class structure and flow you are
> proposing for both client and test classes.
I wasn't any active at the time but let me add my 2cents to that
discussion now.
I don't think the choice to manage the resources in the test classes is
bad but I find confusing and prone to errors that the resources are
actually managed part in the base class and part in the test class; I'm
thinking about the resources cleanup facilities for instance or the user
credentials.
The issue with the credentials in particular has been brought up in the
list before.
Is there some agreement on "fixing" this or an idea on how these things
could be changed?
--
Giulio Fidente
GPG KEY: 08D733BA | IRC: giulivo
More information about the openstack-qa
mailing list