aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/refstack_client
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2018-02-15 14:45:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-15 14:45:33 +0000
commit9476136e4f67cbb9853683c871bb699918a45ee6 (patch)
treef2591557ee74360a8d925938eab1d524d50a50e1 /functest/opnfv_tests/openstack/refstack_client
parentcf456f4397e0920da49289b3d90f0a9da62d025a (diff)
parentc9672ce9e26dc14f5f5bead2e49c0daaddc2cda6 (diff)
Merge "Stop reading NODE_NAME in tempest and refstack"
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 cb2ba220..beb1a5a6 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)