From 53d69321e41aa6fd94abc16c7050314dc2e53f08 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 8 Jun 2017 14:45:26 +0200 Subject: CSIT-664: Refactor setups and teardowns - Add suite setup for performance IPSec tests - Add test teardown for performance SNAT tests - Add setups and teardowns for functional tests - Clean up the code Change-Id: Ia456e9f3ff0f0f2bb9a03f692f27c7f9a2817621 Signed-off-by: Tibor Frank --- ...0-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot') diff --git a/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot b/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot index 6fa3229ff8..bb67bb62c3 100644 --- a/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1xl710-ethip4ipsecbasetnl-ip4base-int-cbc-sha1-ndrpdrdisc.robot @@ -18,15 +18,14 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | BASE | ... -| Suite Setup | Run Keywords -| ... | Set up 3-node performance topology with DUT's NIC model | L3 | Intel-XL710 -| ... | AND | Configure crypto device on all DUTs | force_init=${True} -| ... | AND | Configure kernel module on all DUTs | igb_uio | force_load=${True} +| Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710 +| ... | Suite Teardown | Tear down 3-node performance topology | ... | Test Setup | Set up performance test -| Test Teardown | Tear down performance discovery test | ${min_rate}pps | ${framesize} -| ... | ${traffic_profile} +| ... +| Test Teardown | Tear down performance discovery test | ${min_rate}pps +| ... | ${framesize} | ${traffic_profile} | ... | Documentation | *IPv4 IPsec tunnel mode performance test suite.* | ... -- cgit 1.2.3-korg