aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/api/connection_check.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-09-20 05:01:52 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-09-20 05:09:44 +0200
commit2c84c406a47de37804617c9e782626d616973586 (patch)
treea62bbf19a0a7e3e213fbdd123e578d45a09df58d /functest/opnfv_tests/openstack/api/connection_check.py
parent1f34e0f5036193073b6016e9b6da83b02799c2a8 (diff)
Print OpenStack version in connection_check
Functest is becoming very used and sometimes vs older OpenStack releases (ONAP Openlab). It will ease debugging and easily find backward incompatibilities. Even if that value could be checked for OPNFV Release Management, testing older SUT is not considered as false from a Functest statepoint. Change-Id: Idd782cc98ec4d36f726e233fc5d011308e9d6b71 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3cec072a2fdd7d814e8597d363f417e01df89ef8)
Diffstat (limited to 'functest/opnfv_tests/openstack/api/connection_check.py')
-rw-r--r--functest/opnfv_tests/openstack/api/connection_check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/api/connection_check.py b/functest/opnfv_tests/openstack/api/connection_check.py
index 7a320b5e4..cebb63108 100644
--- a/functest/opnfv_tests/openstack/api/connection_check.py
+++ b/functest/opnfv_tests/openstack/api/connection_check.py
@@ -17,6 +17,7 @@ import shade
from xtesting.core import testcase
from functest.utils import env
+from functest.utils import functest_utils
class ConnectionCheck(testcase.TestCase):
@@ -59,6 +60,7 @@ class ConnectionCheck(testcase.TestCase):
self.__logger.debug(
"list_service_providers: %s",
self.cloud._get_and_munchify('service_providers', data))
+ functest_utils.get_openstack_version(self.cloud)
self.result = 100
status = testcase.TestCase.EX_OK
except Exception: # pylint: disable=broad-except