aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests
diff options
context:
space:
mode:
author“Manuel Buil” <mbuil@suse.com>2017-03-17 10:17:56 +0100
committerBrady Johnson <brady.allen.johnson@ericsson.com>2017-03-17 14:55:13 +0000
commit9490e94c836247e020b1b947a4c5e62bcc8aeb3f (patch)
treef9411e29ec124f8d33d6f31118990dd12bd5bbb7 /sfc/tests
parente75e14e4682a0419bb26f510dbc4805b0534c8d4 (diff)
Remove SFF_filter
After further investigation we found out that the classifier is deployed in all computes. When deploying several tests, ODL starts to function very slowly and sometimes the classifier takes a long time to be deployed in one compute. That tricked us and made us think that it was not deployed everywhere Change-Id: I474a05f77a6342be741d14ffbdb674ef7f970908 Signed-off-by: “Manuel Buil” <mbuil@suse.com> (cherry picked from commit 70445ba93cb07164933ed0c5aac8db32f6f652d4)
Diffstat (limited to 'sfc/tests')
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py5
-rw-r--r--sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py6
2 files changed, 3 insertions, 8 deletions
diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py b/sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py
index 69d86f3f..77c3a4e5 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py
@@ -167,12 +167,9 @@ def main():
num_chains = 1
- # We want to check the classif. only in the SFFs (computes with a SF)
- compute_sffs = test_utils.filter_sffs(compute_nodes, testTopology, vnfs)
-
# Start measuring the time it takes to implement the classification rules
t1 = threading.Thread(target=test_utils.wait_for_classification_rules,
- args=(ovs_logger, compute_sffs, num_chains,))
+ args=(ovs_logger, compute_clients, num_chains,))
try:
t1.start()
except Exception, e:
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 f7527d48..9f301281 100644
--- a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
+++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
@@ -181,12 +181,10 @@ def main():
logger.info(test_utils.run_cmd('tacker sfc-classifier-list')[1])
num_chains = 2
- # We want to check the classif. only in the SFFs (computes with a SF)
- compute_sffs = test_utils.filter_sffs(compute_nodes, testTopology, vnfs)
# Start measuring the time it takes to implement the classification rules
t1 = threading.Thread(target=test_utils.wait_for_classification_rules,
- args=(ovs_logger, compute_sffs, num_chains,))
+ args=(ovs_logger, compute_clients, num_chains,))
try:
t1.start()
@@ -258,7 +256,7 @@ def main():
# Start measuring the time it takes to implement the classification rules
t2 = threading.Thread(target=test_utils.wait_for_classification_rules,
- args=(ovs_logger, compute_sffs, num_chains,))
+ args=(ovs_logger, compute_clients, num_chains,))
try:
t2.start()
except Exception, e: