From 43519bb1d5843d83224e70fd715752254130ae1f Mon Sep 17 00:00:00 2001 From: selias Date: Fri, 3 Nov 2017 14:22:00 +0100 Subject: [PATCH] HC Test: cleanup known test failures - update expected data from L2-FIB dump, due to API changes - mark LISP PITR case as expected failing, add Jira ID Change-Id: I6c6c67697bcea73cdbc248b8f9898cb80ed7b21b Signed-off-by: selias --- resources/test_data/honeycomb/l2_fib.py | 6 +++--- tests/vpp/func/honeycomb/mgmt-cfg-lisp-apihc-apivat-func.robot | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/test_data/honeycomb/l2_fib.py b/resources/test_data/honeycomb/l2_fib.py index c8fabdc943..5c9558dbdb 100644 --- a/resources/test_data/honeycomb/l2_fib.py +++ b/resources/test_data/honeycomb/l2_fib.py @@ -81,7 +81,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_forward_vat': { - "mac": int("".join(notstatic.split(':')), 16), + "mac": [int(x, 16) for x in notstatic.split(":")], "sw_if_index": sw_if_index, "static_mac": 0, "filter_mac": 0, @@ -108,7 +108,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_static_forward_vat': { - "mac": int("".join(static.split(':')), 16), + "mac": [int(x, 16) for x in static.split(":")], "sw_if_index": sw_if_index, "static_mac": 1, "filter_mac": 0, @@ -133,7 +133,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_filter_vat': { - "mac": int("".join(filtered.split(':')), 16), + "mac": [int(x, 16) for x in filtered.split(":")], "static_mac": 1, "filter_mac": 1, "bvi_mac": 0 diff --git a/tests/vpp/func/honeycomb/mgmt-cfg-lisp-apihc-apivat-func.robot b/tests/vpp/func/honeycomb/mgmt-cfg-lisp-apihc-apivat-func.robot index 5966883049..2649db97d0 100644 --- a/tests/vpp/func/honeycomb/mgmt-cfg-lisp-apihc-apivat-func.robot +++ b/tests/vpp/func/honeycomb/mgmt-cfg-lisp-apihc-apivat-func.robot @@ -222,11 +222,11 @@ | TC14: Honeycomb enabled LISP PITR feature | | [Documentation] | Check if Honeycomb can configure the LISP PITR feature. | | ... +# HC2VPP-263 Locator set reference in operational data is incorrect +| | [Tags] | EXPECTED_FAILING | | [Teardown] | Honeycomb disables all LISP features | ${node} | | Given Honeycomb enables LISP | ${node} | | And Honeycomb adds locator set | ${node} | ${interface} | ${locator_set} -| | Given Locator Set From Honeycomb Should Be -| | ... | ${node} | ${interface} | ${locator_set} | | When Honeycomb enables LISP PITR feature | ${node} | ${locator_set} | | Then PITR config from Honeycomb should be | ${node} | ${locator_set} | | And PITR config from VAT should be | ${node} | ${locator_set} -- 2.16.6