aboutsummaryrefslogtreecommitdiffstats
path: root/tests/func/tap/tap_interface.robot
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2016-10-27 15:33:42 +0200
committerTibor Frank <tifrank@cisco.com>2016-11-07 17:07:12 +0100
commit440370de3fc66d5bb9754a55fa78ccce8c598f5d (patch)
treee5c9b88a6f854d9fc55d5e36e2897809b8fb1300 /tests/func/tap/tap_interface.robot
parentefe5c162d2311ed470285a6f84af7c0f3a0c109c (diff)
CSIT-465: Common test setup and teardown
This test setup and teardown is aimed to be used with all functional tests. It does not include functionality to manipulate VMs (qemu). Test setup includes: - Setup all DUTs before test - Save VPP PIDs - Setup all TGs before traffic script - Update All Interface Data On All Nodes Test teardown includes: - Show Packet Trace on All DUTs - Show vpp trace dump on all DUTs - Vpp Show Errors On All DUTs - Check VPP PID in Teardown Change-Id: Ifee0bd58b7865442c5b510852908fd8363e3c543 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/tap/tap_interface.robot')
-rw-r--r--tests/func/tap/tap_interface.robot10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/func/tap/tap_interface.robot b/tests/func/tap/tap_interface.robot
index 13a8e619fb..2acdad8d37 100644
--- a/tests/func/tap/tap_interface.robot
+++ b/tests/func/tap/tap_interface.robot
@@ -24,11 +24,10 @@
| Library | resources.libraries.python.Namespaces
| Library | resources.libraries.python.IPUtil
| Force Tags | HW_ENV | VM_ENV | 3_NODE_DOUBLE_LINK_TOPO
-| Test Setup | Run Keywords | Setup all DUTs before test
-| ... | AND | Setup all TGs before traffic script
-| ... | AND | Clean Up Namespaces | ${nodes['DUT1']}
-| Test Teardown | Run Keywords | Show Packet Trace on All DUTs | ${nodes}
+| Test Setup | Run Keywords | Func Test Setup
| ... | AND | Clean Up Namespaces | ${nodes['DUT1']}
+| Test Teardown | Run Keywords | Func Test Teardown
+| ... | AND | Clean Up Namespaces | ${nodes['DUT1']}
| Documentation | *Tap Interface Traffic Tests*
| ... | *[Top] Network Topologies:* TG=DUT1 2-node topology with two links
| ... | between nodes.
@@ -91,7 +90,8 @@
| | [Teardown] | Run Keywords
| | ... | Linux Del Bridge | ${dut_node} | ${bid_TAP} | AND
| | ... | Show Packet Trace on All DUTs | ${nodes} | AND
-| | ... | Clean Up Namespaces | ${nodes['DUT1']}
+| | ... | Clean Up Namespaces | ${nodes['DUT1']} | AND
+| | ... | Check VPP PID in Teardown
| | ...
| | Given Path for 2-node testing is set | ${nodes['TG']} | ${nodes['DUT1']}
| | ... | ${nodes['TG']}