diff options
-rw-r--r-- | sfc/tests/functest/sfc_chain_deletion.py | 5 | ||||
-rw-r--r-- | sfc/tests/functest/sfc_one_chain_two_service_functions.py | 5 | ||||
-rw-r--r-- | sfc/tests/functest/sfc_parent_function.py | 6 | ||||
-rw-r--r-- | sfc/tests/functest/sfc_symmetric_chain.py | 5 | ||||
-rw-r--r-- | sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py | 5 |
5 files changed, 25 insertions, 1 deletions
diff --git a/sfc/tests/functest/sfc_chain_deletion.py b/sfc/tests/functest/sfc_chain_deletion.py index ffb7e2e2..44982c91 100644 --- a/sfc/tests/functest/sfc_chain_deletion.py +++ b/sfc/tests/functest/sfc_chain_deletion.py @@ -10,6 +10,8 @@ import threading import logging +import urllib3 + import sfc.lib.odl_utils as odl_utils import sfc.lib.config as sfc_config import sfc.lib.test_utils as test_utils @@ -104,6 +106,9 @@ class SfcChainDeletion(sfc_parent_function.SfcCommonTestCase): if __name__ == '__main__': + # Disable InsecureRequestWarning errors when executing the SFC tests in XCI + urllib3.disable_warnings() + TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc_chain_deletion') supported_installers = ['fuel', 'apex', 'osa', 'compass'] vnf_names = ['testVNF1', 'testVNF2'] diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py index bd333377..bc36c494 100644 --- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py +++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py @@ -9,6 +9,8 @@ # import threading import logging +import urllib3 + import sfc.lib.odl_utils as odl_utils import sfc.lib.config as sfc_config from sfc.tests.functest import sfc_parent_function @@ -87,6 +89,9 @@ class SfcOneChainTwoServiceTC(sfc_parent_function.SfcCommonTestCase): if __name__ == '__main__': + # Disable InsecureRequestWarning errors when executing the SFC tests in XCI + urllib3.disable_warnings() + TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc_one_chain_two_service' '_functions') supported_installers = ['fuel', 'apex', 'osa', 'compass'] diff --git a/sfc/tests/functest/sfc_parent_function.py b/sfc/tests/functest/sfc_parent_function.py index 0db00f03..aa08e831 100644 --- a/sfc/tests/functest/sfc_parent_function.py +++ b/sfc/tests/functest/sfc_parent_function.py @@ -1,5 +1,7 @@ -import os import logging +import os +import urllib3 + import sfc.lib.test_utils as test_utils import sfc.lib.openstack_utils as os_sfc_utils import sfc.lib.topology_shuffler as topo_shuffler @@ -10,6 +12,8 @@ from sfc.lib import config as sfc_config from sfc.lib import odl_utils as odl_utils from sfc.lib.results import Results +# Disable InsecureRequestWarning errors when executing the SFC tests in XCI +urllib3.disable_warnings() logger = logging.getLogger(__name__) CLIENT = "client" diff --git a/sfc/tests/functest/sfc_symmetric_chain.py b/sfc/tests/functest/sfc_symmetric_chain.py index b1400a71..7d6b4c15 100644 --- a/sfc/tests/functest/sfc_symmetric_chain.py +++ b/sfc/tests/functest/sfc_symmetric_chain.py @@ -12,6 +12,8 @@ import os import sys import threading import logging +import urllib3 + import sfc.lib.openstack_utils as os_sfc_utils import sfc.lib.odl_utils as odl_utils import sfc.lib.config as sfc_config @@ -178,6 +180,9 @@ def wait_for_classification_rules(ovs_logger, compute_nodes, if __name__ == '__main__': + # Disable InsecureRequestWarning errors when executing the SFC tests in XCI + urllib3.disable_warnings() + TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc_symmetric_chain') supported_installers = ['fuel', 'apex', 'osa', 'compass'] vnf_names = ['testVNF1'] diff --git a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py index 7a65f548..29441c63 100644 --- a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py +++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py @@ -10,6 +10,8 @@ import threading import logging +import urllib3 + import sfc.lib.odl_utils as odl_utils import sfc.lib.config as sfc_config from sfc.tests.functest import sfc_parent_function @@ -110,6 +112,9 @@ class SfcTwoChainsSSHandHTTP(sfc_parent_function.SfcCommonTestCase): if __name__ == '__main__': + # Disable InsecureRequestWarning errors when executing the SFC tests in XCI + urllib3.disable_warnings() + TESTCASE_CONFIG = sfc_config.TestcaseConfig('sfc_two_chains_SSH_and_HTTP') supported_installers = ['fuel', 'apex', 'osa', 'compass'] vnf_names = ['testVNF1', 'testVNF2'] |