[DEFAULT] test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ OS_DEBUG=${OS_DEBUG:-0} \ ${PYTHON:-python} -m subunit.run discover -s tests $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list # NOTE(ipekelny): create an isolated DB instance for each test running process # to prevent race conditions. Please see # https://testrepository.readthedocs.org/en/latest/MANUAL.html#remote-or-isolated-test-environments # for details. instance_provision=${PYTHON:-python} ./openstack/common/db/sqlalchemy/provision.py create $INSTANCE_COUNT instance_dispose=${PYTHON:-python} ./openstack/common/db/sqlalchemy/provision.py drop $INSTANCE_IDS instance_execute=OS_TEST_DBAPI_CONNECTION=$INSTANCE_ID $COMMAND