diff options
author | selias <samelias@cisco.com> | 2017-08-09 10:50:46 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-08-15 11:00:41 +0000 |
commit | ee52db86af140da3c919476dcd1441acdc9e7600 (patch) | |
tree | 9568f5180e6a2ff9b3e27219ba7de3a0bf9d8691 /tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot | |
parent | 8cde871103a51013f3bd775d453c48ba6deebca5 (diff) |
HC Test: cleanup test failures
- have unnumbered interface cases use a real interface instead of local0
- add EXPECTED_FAILING tag and Jira link to known failing test cases
Change-Id: I8bc0f4a74ea1949289a3f12dd54168acdf9edc39
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot')
-rw-r--r-- | tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot b/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot index f0f6e4e6ad..2266509f61 100644 --- a/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot +++ b/tests/vpp/func/honeycomb/mgmt-cfg-intip4-intip6-apihc-apivat-func.robot @@ -14,6 +14,7 @@ *** Variables *** # Interface to run tests on. | ${interface}= | ${node['interfaces']['port1']['name']} +| ${interface2}= | ${node['interfaces']['port3']['name']} *** Settings *** | Resource | resources/libraries/robot/shared/default.robot @@ -218,16 +219,20 @@ | TC11: Honeycomb can configure unnumbered interface | | [Documentation] | Check if Honeycomb can configure an unnumbered interface\ -| | ... | on a physical interface, borrowing the IP address of 'local0'. +| | ... | on a physical interface, borrowing the IP address of another physical\ +| | ... | interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | Given Honeycomb sets interface IPv4 address | ${node} -| | ... | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | When Honeycomb adds unnumbered configuration to interface -| | ... | ${node} | ${interface} | local0 -| | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${node} | ${interface} | ${interface2} +| | Then Wait until Keyword succeeds | 10s | 2s +| | ... | IPv4 address from Honeycomb should be +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be | | ... | ${node} | ${interface} | ${ipv4_address} | ${ipv4_prefix} @@ -239,10 +244,12 @@ | | [Documentation] | Check if Honeycomb can remove unnumbered configuration\ | | ... | from an interface. | | ... +# CSIT-734: Intermittent failures of all unnumbered interface cases +| | [Tags] | EXPECTED_FAILING | | Given IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be | | ... | ${node} | ${interface} | ${ipv4_address} | ${ipv4_prefix} @@ -251,10 +258,11 @@ | | ... | ${ipv4_prefix} | ${ipv4_mask} | | When Honeycomb removes unnumbered configuration from interface | | ... | ${node} | ${interface} -| | Then IPv4 address from Honeycomb should be -| | ... | ${node} | local0 | ${ipv4_address} | ${ipv4_prefix} +| | Then Wait until Keyword succeeds | 10s | 2s +| | ... | IPv4 address from Honeycomb should be +| | ... | ${node} | ${interface2} | ${ipv4_address} | ${ipv4_prefix} | | And IPv4 address from VAT should be -| | ... | ${node} | local0 | ${ipv4_address} +| | ... | ${node} | ${interface2} | ${ipv4_address} | | ... | ${ipv4_prefix} | ${ipv4_mask} | | And IPv4 address from Honeycomb should be empty | ${node} | ${interface} | | And ipv4 address from VAT should be empty | ${node} | ${interface} |