X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Ffunc%2Finterfaces%2Fapi-crud-tap-func.robot;h=53c90385073ab0f30ef7a01fc30265d8475302ef;hb=refs%2Fchanges%2F60%2F18360%2F67;hp=8110b704b5f60a222ca243bc36f81f5ddff93ced;hpb=d5ac4bdc6205837fc7fbb031ffa0ef3df91ea2df;p=csit.git diff --git a/tests/vpp/func/interfaces/api-crud-tap-func.robot b/tests/vpp/func/interfaces/api-crud-tap-func.robot index 8110b704b5..53c9038507 100644 --- a/tests/vpp/func/interfaces/api-crud-tap-func.robot +++ b/tests/vpp/func/interfaces/api-crud-tap-func.robot @@ -24,7 +24,7 @@ | Library | resources.libraries.python.Namespaces | Library | resources.libraries.python.IPUtil | ... -| Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO | SKIP_TEST +| Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO | ... | Test Setup | Set up TAP functional test | ... @@ -39,9 +39,8 @@ | ... | *[Ref] Applicable standard specifications:* *** Variables *** -| ${tap_int1}= | tap_int1 -| ${tap_int2}= | tap_int2 -| ${mod_tap_name}= | tap_int1MOD +| ${tap_int1}= | tap0 +| ${tap_int2}= | tap1 *** Test Cases *** | TC01: Tap Interface Modify And Delete @@ -55,18 +54,17 @@ | | Given Configure path in 2-node circular topology | ${nodes['TG']} | | ... | ${nodes['DUT1']} | ${nodes['TG']} | | And Set interfaces in 2-node circular topology up -| | ${int1}= | And Add Tap Interface | ${dut_node} | ${tap_int1} +| | ${int1}= | When Add Tap Interface | ${dut_node} | ${tap_int1} | | ${int2}= | And Add Tap Interface | ${dut_node} | ${tap_int2} | | And Set Interface State | ${dut_node} | ${int1} | up | | And Set Interface State | ${dut_node} | ${int2} | up -| | When Modify Tap Interface | ${dut_node} | ${int1} | ${mod_tap_name} -| | Then Check Tap Present | ${dut_node} | ${mod_tap_name} +| | Then Check Tap Present | ${dut_node} | ${tap_int1} | | When Delete Tap Interface | ${dut_node} | ${int1} | | Then Run Keyword And Expect Error -| | ... | Tap interface :${mod_tap_name} does not exist -| | ... | Check Tap Present | ${dut_node} | ${mod_tap_name} +| | ... | Tap interface :${tap_int1} does not exist +| | ... | Check Tap Present | ${dut_node} | ${tap_int1} | | And Check Tap Present | ${dut_node} | ${tap_int2} | | When Delete Tap Interface | ${dut_node} | ${int2} | | Then Run Keyword And Expect Error -| | ... | ValueError: No JSON object could be decoded +| | ... | Tap interface :${tap_int2} does not exist | | ... | Check Tap Present | ${dut_node} | ${tap_int2}