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 .
Regards
*
*
*Shweta**
*
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
TempestConfigPrivate class.
-David
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev