[OpenStack-Infra] swift functional tests

Monty Taylor mordred at inaugust.com
Fri Jun 7 12:30:36 UTC 2013


Chmouel and I had a chat about running the swift functional tests today.
As it stands now, they need a v1 swift, although chmouel is interested
in running them against v2 as well.

In any case, I proposed the following:

Add a job that is triggered by swift commits for running functional tests.

Have that job run on devstack-gate nodes.

Add a pre_test_hook for the job which adds the devstack config for
enabling the swift v1 api:

https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate-wrap.sh#L401

This should put the things needed into localrc.

export DEVSTACK_GATE_TEMPEST=0

Add a post_test_hook function which runs the swift functional tests
instead of tempest:

https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate-wrap.sh#L411

I made a NON-FUNCTIONAL stab at this here:

https://review.openstack.org/32125

Chmouel - if you want to poke around at making that actually work, I
believe that should show where things should go in general...

Monty



More information about the OpenStack-Infra mailing list