aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/refstack_client
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-13 19:13:28 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-14 11:13:05 +0100
commitc9672ce9e26dc14f5f5bead2e49c0daaddc2cda6 (patch)
tree2af759fc439813fb15b69bb9d2d41b521e9de2ec /functest/opnfv_tests/openstack/refstack_client
parentd835b25418590d8f149736547beb56c0ab27c2ef (diff)
Stop reading NODE_NAME in tempest and refstack
NODE_NAME should only be read by TestCase when publishing the results to the database. Other debug data are already printed by run_tests. INSTALLER_TYPE and DEPLOY_SCENARIO are also unused by refstack. Change-Id: Ib82d5c1512553beba2c56f4ec2860cb2593f801e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/refstack_client')
-rw-r--r--functest/opnfv_tests/openstack/refstack_client/refstack_client.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
index cb2ba2208..beb1a5a66 100644
--- a/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
+++ b/functest/opnfv_tests/openstack/refstack_client/refstack_client.py
@@ -84,16 +84,6 @@ class RefstackClient(testcase.TestCase):
LOGGER.info("Starting Refstack_defcore test case: '%s'.", cmd)
with open(os.path.join(conf_utils.REFSTACK_RESULTS_DIR,
- "environment.log"), 'w+') as f_env:
- f_env.write(
- ("Refstack environment:\n"
- " SUT: {}\n Scenario: {}\n Node: {}\n Date: {}\n")
- .format(os.getenv('INSTALLER_TYPE', None),
- os.getenv('DEPLOY_SCENARIO', None),
- os.getenv('NODE_NAME', 'unknown_pod'),
- time.strftime("%a %b %d %H:%M:%S %Z %Y")))
-
- with open(os.path.join(conf_utils.REFSTACK_RESULTS_DIR,
"refstack.log"), 'w+') as f_stdout:
subprocess.call(cmd, shell=False, stdout=f_stdout,
stderr=subprocess.STDOUT)