From 66df82a76334015e3e2d25ddcc22b343b110320c Mon Sep 17 00:00:00 2001 From: Viktor Tikkanen Date: Thu, 11 Feb 2016 09:04:30 +0200 Subject: Enadled --serial option for run_tests.sh It could be useful to execute e.g. Tempest test cases in a single thread in order to troubleshoot possible concurrency problems. Change-Id: I5e5fc190fb4483ff075a8f837a8d4116ece90c80 Signed-off-by: Viktor Tikkanen --- docs/userguide/runfunctest.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/userguide/runfunctest.rst') diff --git a/docs/userguide/runfunctest.rst b/docs/userguide/runfunctest.rst index 61511413..36433374 100644 --- a/docs/userguide/runfunctest.rst +++ b/docs/userguide/runfunctest.rst @@ -26,6 +26,7 @@ several options:: -h|--help show this help text -r|--report push results to database (false by default) -n|--no-clean do not clean up OpenStack resources after test run + -s|--serial run tests in one thread -t|--test run specific set of tests one or more of the following separated by comma: vping_ssh,vping_userdata,odl,rally,tempest,vims,onos,promise,ovno @@ -58,6 +59,10 @@ is called once by *prepare_env.sh* when setting up the Functest environment to snapshot all the OpenStack resources (images, networks, volumes, security groups, tenants, users) so that an eventual cleanup does not remove any of this defaults. +The *-s* option forces execution of test cases in a single thread. Currently this +option affects Tempest test cases only and can be used e.g. for troubleshooting +concurrency problems. + The script *$repos_dir/functest/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py* is normally called after a test execution if the *-n* is not specified. It -- cgit 1.2.3-korg