From a9f36b9999ebd62da1e9bfbfb40874c86de3f440 Mon Sep 17 00:00:00 2001 From: vitikkan Date: Tue, 23 Aug 2016 10:32:24 +0300 Subject: Create tempest resources before generating tempest.conf During generating tempest.conf file rally tries to download cirros image from the internet if no suitable images exist in the configuration. This change ensures that cirros image is created before generating tempest.conf file. JIRA: FUNCTEST-195 Change-Id: I9e2df8af40bd02db9b78b8b6b730b4f4168a8b2d Signed-off-by: vitikkan (cherry picked from commit 93f4a6576d58522dfbb458f184399767ef8764aa) --- testcases/OpenStack/tempest/run_tempest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testcases/OpenStack/tempest') diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py index c143fffae..7d023f5df 100755 --- a/testcases/OpenStack/tempest/run_tempest.py +++ b/testcases/OpenStack/tempest/run_tempest.py @@ -423,6 +423,7 @@ def main(): os.makedirs(TEMPEST_RESULTS_DIR) deployment_dir = ft_utils.get_deployment_dir(logger) + create_tempest_resources() if "" == args.conf: MODE = "" @@ -430,7 +431,6 @@ def main(): else: MODE = " --tempest-config " + args.conf - create_tempest_resources() generate_test_list(deployment_dir, args.mode) apply_tempest_blacklist() -- cgit 1.2.3-korg