deb-sahara/sahara/tests/tempest/scenario/data_processing
Sergey Reshetnyak 6d3c5f900e Set up network client for tempest client tests
Change-Id: I08e590390e84880beaa394daac2d5eaf32c254fc
2015-03-24 19:01:36 +03:00
..
client_tests Set up network client for tempest client tests 2015-03-24 19:01:36 +03:00
etc Saharaclient tests for tempest 2014-12-12 15:38:08 +03:00
__init__.py Saharaclient tests for tempest 2014-12-12 15:38:08 +03:00
config.py Using oslo_* instead of oslo.* 2015-02-04 13:19:28 +03:00
README.rst Saharaclient tests for tempest 2014-12-12 15:38:08 +03:00

Tests for Sahara Client in Tempest

How to run

Get the latest tempest resources from GitHub:

$ git clone https://github.com/openstack/tempest.git

Create a configuration file tempest/etc/tempest.conf for tempest using the sample file from tempest/etc/tempest.conf.sample:

$ cd $TEMPEST_ROOT_DIR
$ cp etc/tempest.conf.sample etc/tempest.conf

Some configuration options are required for running tests. Here is the list:

[DEFAULT] lock_path=

[identity] uri= uri_v3= username= tenant_name= password= admin_username= admin_tenant_name= admin_password=

[service_available] sahara=true neutron=true

Get the latest sahara resources from GitHub:

$ git clone https://github.com/openstack/sahara.git

Copy Sahara Tempest tests directory to tempest:

$ cp -r $SAHARA_ROOT_DIR/sahara/tests/tempest .

Create a configuration file tempest/scenario/data_processing/etc/sahara_tests.conf from tempest/scenario/data_processing/etc/sahara_tests.conf.sample:

$ cp tempest/scenario/data_processing/etc/sahara_tests.conf.sample tempest/scenario/data_processing/etc/sahara_tests.conf

All options should be set. Some of them are defaults and can be left without changing, other should be specified.

When configuration is finished, you can launch the tests with:

$ tox -e all -- tempest.scenario.data_processing.client_tests

If you want to launch all Sahara tests in Tempest, you can do this with data_processing tag:

$ tox -e all -- data_processing