[openstack-dev] [tempest] UUID Tagging Requirement and "Big Bang" Patch
Chris Hoge
chris+openstackdev at openstack.org
Mon Feb 23 07:47:33 UTC 2015
Once the gate settles down this week I’ll be sending up a major
“big bang” patch to Tempest that will tag all of the tests with unique
identifiers, implementing this spec:
https://github.com/openstack/qa-specs/blob/master/specs/meta-data-and-uuid-for-tests.rst
The work in progress is here, and includes a change to the gate that
every test developer should be aware of.
https://review.openstack.org/#/c/157273/
All tests will now require a UUID metadata identifier, generated from the
uuid.uuid4 function. The form of the identifier is a decorator like:
@test.meta(uuid='12345678-1234-5678-1234-567812345678')
To aid in hacking rules, the @test.meta decorator must be directly before the
function definition and after the @test.services decorator, which itself
must appear after all other decorators.
The gate will now require that every test have a uuid that is indeed
unique.
This work is meant to give a stable point of reference to tests that will
persist through test refactoring and moving.
Thanks,
Chris Hoge
Interop Engineer
OpenStack Foundation
More information about the OpenStack-dev
mailing list