diff options
author | Manuel Buil <mbuil@suse.com> | 2018-01-26 12:54:35 +0100 |
---|---|---|
committer | Brady Johnson <bjohnson@inocybe.com> | 2018-01-29 16:20:30 +0000 |
commit | d436fafbde49d78e2e39a8a63c31747799531ca1 (patch) | |
tree | d622ef2353ae90bbf1ef7ab80108199042818594 /sfc/tests/functest/sfc_one_chain_two_service_functions.py | |
parent | b3791d8df2a7666603148e771191e1f6e7f4a784 (diff) |
Fix problem to fetch the compute name of client VM
When migrating to SNAPs a bug was introduced and could be seen in logs as:
Error when waiting for classification rules: 'module' object has no attribute
'get_compute_client'
The cause is that get_compute_client is not a global function anymore but a
method inside a class. Besides, due to SNAPs, we need to fetch the compute
name in another way
Change-Id: I32007c83894281ba9514a121b7939b5bfe52f4bc
Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests/functest/sfc_one_chain_two_service_functions.py')
-rw-r--r-- | sfc/tests/functest/sfc_one_chain_two_service_functions.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 043b5a6a..411262d1 100644 --- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py +++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py @@ -185,7 +185,8 @@ def main(): # Start measuring the time it takes to implement the classification rules t1 = threading.Thread(target=odl_utils.wait_for_classification_rules, - args=(ovs_logger, compute_nodes, odl_ip, odl_port,)) + args=(ovs_logger, compute_nodes, odl_ip, + odl_port, openstack_sfc.get_compute_client(),)) try: t1.start() except Exception as e: |