aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-03-14 11:13:22 +0000
committerManuel Buil <mbuil@suse.com>2017-03-14 18:29:29 +0000
commit2ebb76e757caf2a450758a14223f9a16d8d154ea (patch)
treec7efd17fe084f95d0c0efa854ac6015e60ca2ddc /sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
parent0433a61c89edd163b5451bb4e1fb78e8ca3a891a (diff)
Bug fix: classif. check not working for one chain
In the test case with only one chain the wait_classification function was not working Change-Id: I4cff1e61130b6fc68d736108a0da048909dad750 Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit 4b082d08b46941da06630926a117054881a8aa1b)
Diffstat (limited to 'sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py')
-rw-r--r--sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py3
1 files changed, 2 insertions, 1 deletions
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 fa549b16..d96b9d83 100644
--- a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
+++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
@@ -180,9 +180,10 @@ def main():
logger.info(test_utils.run_cmd('tacker sfc-list')[1])
logger.info(test_utils.run_cmd('tacker sfc-classifier-list')[1])
+ num_chains = 2
# 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_clients,))
+ args=(ovs_logger, compute_clients, num_chains,))
try:
t1.start()
except Exception, e: