aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-03-25 15:08:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-25 15:08:39 +0000
commit034e9297da1e9fdf82cf900776dddf252e879d29 (patch)
tree360b7a414aad81849b084bed006271a14b9530a4 /functest/opnfv_tests
parentd48e87aa768d193efac2677169265dce16c5fdac (diff)
parent16cda37220675370bb18ab06079d829fcd9f6050 (diff)
Merge "Printing the flavor_metadata for SnapsTestRunner"
Diffstat (limited to 'functest/opnfv_tests')
-rw-r--r--functest/opnfv_tests/openstack/snaps/snaps_test_runner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
index 67cd9415..9d723905 100644
--- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
+++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
@@ -5,6 +5,7 @@
#
# http://www.apache.org/licenses/LICENSE-2.0
+from functest.utils import functest_logger as ft_logger
from functest.core.pytest_suite_runner import PyTestSuiteRunner
from functest.opnfv_tests.openstack.snaps import snaps_utils
from functest.utils import functest_utils
@@ -22,9 +23,11 @@ class SnapsTestRunner(PyTestSuiteRunner):
super(SnapsTestRunner, self).__init__()
self.ext_net_name = snaps_utils.get_ext_net_name()
-
+ self.logger = ft_logger.Logger(self.project_name).getLogger()
scenario = functest_utils.get_scenario()
self.flavor_metadata = create_flavor.MEM_PAGE_SIZE_ANY
if 'ovs' in scenario or 'fdio' in scenario:
self.flavor_metadata = create_flavor.MEM_PAGE_SIZE_LARGE
+
+ self.logger.info("Using flavor metatdata '%s'" % self.flavor_metadata)