aboutsummaryrefslogtreecommitdiffstats
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:08:21 +0200
commit3cec072a2fdd7d814e8597d363f417e01df89ef8 (patch)
tree628423d0fc0f1b698ba3d060f666f85414698d83
parenta5d6f526c6b935cf1fc7f02a87e0e1118979edd8 (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>
-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