From 00ffdef3d549e331ed99e2db40629e62fefede3b Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Mon, 3 Jul 2017 13:26:27 +0300 Subject: [ci] Use pseudo-random names for new resources Random names of resources makes the task impossible to find a test which doesn't clean resources after a launch. This patch changes name_generate method to generate names including a name of the test, which can be really helpful. Also, the simple script that prints resources after test run is added. Change-Id: Id3a743afb624dd4bf8ed3523a1916455fd93655a --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 48351b60..c8910f5f 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,9 @@ passenv = OS_NOVACLIENT_TEST_NETWORK setenv = {[testenv]setenv} OS_TEST_PATH = ./novaclient/tests/functional -commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}' +commands = + bash tools/pretty_tox.sh '--concurrency=1 {posargs}' + python novaclient/tests/functional/hooks/check_resources.py [testenv:functional-py35] basepython = python3.5 @@ -54,7 +56,9 @@ passenv = OS_NOVACLIENT_TEST_NETWORK setenv = {[testenv]setenv} OS_TEST_PATH = ./novaclient/tests/functional -commands = bash tools/pretty_tox.sh '--concurrency=1 {posargs}' +commands = + bash tools/pretty_tox.sh '--concurrency=1 {posargs}' + python novaclient/tests/functional/hooks/check_resources.py [testenv:cover] commands = -- cgit v1.2.1