aboutsummaryrefslogtreecommitdiffstats
path: root/tests/suites
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-02-22 14:17:13 +0100
committerMiroslav Miklus <mmiklus@cisco.com>2016-02-22 13:26:24 +0000
commit959bbc915545c271271ba393f4c4b71c2ddec83c (patch)
tree51880b72a96251606ed2def9aa0484c2958c0a9f /tests/suites
parentb255549d4fee3a161c521a1a2bd8be3a0767189e (diff)
performance tests: 2core, test teardown, remove UDP header
- testing on 2 core VPP - show statistics only if test fails - remove UDP header from packet Change-Id: I5b47330a0bbc4602e8e8eb19fcc481a7635bd2a5 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'tests/suites')
-rw-r--r--tests/suites/performance/short.robot17
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/suites/performance/short.robot b/tests/suites/performance/short.robot
index eea9c176e1..598cd409bf 100644
--- a/tests/suites/performance/short.robot
+++ b/tests/suites/performance/short.robot
@@ -25,29 +25,30 @@
| ... | ${nodes['TG']['interfaces']['port3']['pci_address']}
| ... | ${nodes['TG']['interfaces']['port5']['pci_address']}
| Suite Teardown | Teardown traffic generator | ${nodes['TG']}
+| Test Teardown | Run Keyword If Test Failed | Show statistics on all DUTs
*** Test Cases ***
-| VPP passes 64B frames through L2 cross connect at 3.5mpps in 3-node topology
+| 2core VPP passes 64B frames through L2 cross connect at 3.5mpps in 3-node topology
| | Given L2 xconnect initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 3.5mpps | 64 | 3-node-xconnect
-| VPP passes 1518B frames through L2 cross connect at 10gbps in 3-node topology
+| 2core VPP passes 1518B frames through L2 cross connect at 10gbps in 3-node topology
| | Given L2 xconnect initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 10gbps | 1518 | 3-node-xconnect
-| VPP passes 9000B frames through L2 cross connect at 10gbps in 3-node topology
+| 2core VPP passes 9000B frames through L2 cross connect at 10gbps in 3-node topology
| | Given L2 xconnect initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 10gbps | 9000 | 3-node-xconnect
-| VPP passes 64B frames through bridge domain at 3.5mpps in 3-node topology
+| 2core VPP passes 64B frames through bridge domain at 3.5mpps in 3-node topology
| | Given L2 bridge domain initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 3.5mpps | 64 | 3-node-bridge
-| VPP passes 1518B frames through bridge domain at 10gbps in 3-node topology
+| 2core VPP passes 1518B frames through bridge domain at 10gbps in 3-node topology
| | Given L2 bridge domain initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 10gbps | 1518 | 3-node-bridge
-| VPP passes 9000B frames through bridge domain at 10gbps in 3-node topology
+| 2core VPP passes 9000B frames through bridge domain at 10gbps in 3-node topology
| | Given L2 bridge domain initialized in a 3-node circular topology
| | Then Traffic should pass with no loss | 10 | 10gbps | 9000 | 3-node-bridge
@@ -86,6 +87,7 @@
| | ${dst_if} | ${tg}= | Next Interface
| | Vpp l2bd forwarding setup | ${dut1} | ${dut1_if1} | ${dut1_if2}
| | Vpp l2bd forwarding setup | ${dut2} | ${dut2_if1} | ${dut2_if2}
+| | Sleep | 10 | Wait for interfaces initialization
| L2 xconnect initialized in a 3-node circular topology
| | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']}
@@ -99,14 +101,15 @@
| | ${dst_if} | ${tg}= | Next Interface
| | L2 setup xconnect on DUT | ${dut1} | ${dut1_if1} | ${dut1_if2}
| | L2 setup xconnect on DUT | ${dut2} | ${dut2_if1} | ${dut2_if2}
+| | Sleep | 10 | Wait for interfaces initialization
| Traffic should pass with no loss
| | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type}
| | Send traffic on | ${nodes} | ${duration}
| | ... | ${rate} | ${framesize} | ${topology_type}
-| | Show statistics on all DUTs
| | No traffic loss occured
| Show statistics on all DUTs
+| | Sleep | 10 | Waiting for statistics to be collected
| | Vpp show stats | ${nodes['DUT1']}
| | Vpp show stats | ${nodes['DUT2']}