On Thu, Sep 12, 2013 at 05:15:16AM +0000, Sowmya Krishnan wrote:
> I find for most of the VPC tests we create a new VPC Offering which
> provides almost the same set of services as the "Default VPC
> Offering" already available by default. We also have a separate
> function to create this offering, enabling it and then create a VPC
> using this offering. I wonder why do we have to create vpc offerings
> for each test suite. Also, we don't expose create VPC offering in
> the UI. We do have an API for that, but I think we should just stick
> to the default ones available and then create network offerings as
> required for the test.
> 

Personally, I don't see the harm in that since any offering is
lightweight. I prefer every test create it's own set of resources from
scratch if possible. Today we don't track the trail of resources that
are created by a test but we will do that. That should help with
cleanup and audit. 

Do you see a problem though? I generally don't like sticking to
anything 'Default' and exposed only in our UI. Exercise all APIs,
leave no stone unturned.

> Except for one test suite - test_vpc_offerings.py, where we are
> actually testing vpc offerings, I don't think we should be creating
> vpc offerings elsewhere. Comments?

-- 
Prasanna.,

------------------------
Powered by BigRock.com

Reply via email to