[openstack-dev] [qa] Have multiple config files
dkranz at redhat.com
Mon Jan 6 16:46:38 UTC 2014
On 01/06/2014 05:14 AM, Shweta Jain wrote:
> Hello there ,
> I am working on Tempest and is new to it . while I am using
> tempest.config but would like to know is there a way I can use
> multiple config files in tempest .
> My intention to use the multiple configs is purely for running the
> test in multiple environments .
> For example I have to run same set of test in Prod and in QA
> environment , then either test runner or through some other way I can
> mention the config file name and test will start running picking up
> that config file.
> One way how I am working with it is having multiple sample config
> files and the copy those to tempest.config before test start running
> and then run it .
> Any other suggestion to handle this .
You can use the shell environment variables DEFAULT_CONFIG_DIR and
TEMPEST_CONFIG to change the dir and file used to
locate tempest.conf. This feature is implemented in the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev