[openstack-qa] Fail injection tests for Swift and possible merge with Tempest

Martina Kollarova mkollaro at redhat.com
Mon May 13 12:59:52 UTC 2013


On Sat 11 May 2013 01:26:20 AM CEST, Sean Dague wrote:
> On 05/10/2013 10:31 AM, Martina Kollarova wrote:
>> Hello,
>>
>> I started to write fail injection tests, currently specialized to Swift.
>>
>> https://github.com/mkollaro/destroystack
>>
>> A decision has been made to have all tests in one repository and I got
>> asked me if it would be possible to add these to Tempest. The main
>> problems with that are:
>> 1. they are very setup dependent - Swift has to be installed in a
>> specific way and needs multiple servers
>> 2. needs re-installation between test suites, since different tests
>> expect a different topology (see file TEST_PLAN.md)
>> 3. it will shut down servers, change configuration, etc
>> 4. will be quite slow
>
> The architecture of Tempest is to just house test cases. They can be
> configured with an etc file, but it should not modify your environment.

The test cases themselves modify the environment. That is their whole 
point.

> I think that if destroy stack could separate the test cases from the
> setup runner, the test cases would be appropriate. We currently
> already have 2 setup runners in openstack-dev, devstack, and grenade,
> so having something that sets up various swift configs could be it's
> own project.

Setup runner? I use packstack, but any other tool can be used, as long 
as it creates the same kind of setup as packstack would.

--
Martina Kollarova
RedHat OpenStack Storage QE, Brno



More information about the openstack-qa mailing list