aboutsummaryrefslogtreecommitdiffstats
path: root/tests/func/ipv6
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-07-21 17:35:48 +0200
committerMatej Klotton <mklotton@cisco.com>2016-08-11 12:00:39 +0200
commitbc4e345605abe0772043892fcc99fce9aa768edb (patch)
treeb96876b37bab58fc4737dad607ea00d415b5bd05 /tests/func/ipv6
parent72be8262ea5dc0136a21032402b7f4ffa5ff4576 (diff)
Fix test teardown in IPv4 and IPv6 tests
Run keyword if test fail expect one keyword. Test Teardown is moved to suites __init__.robot Change-Id: Ie1e4c4a803325ade4d326f9bb1a9c43a33395566 Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'tests/func/ipv6')
-rw-r--r--tests/func/ipv6/ipv6_ra.robot5
-rw-r--r--tests/func/ipv6/ipv6_untagged.robot5
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/func/ipv6/ipv6_ra.robot b/tests/func/ipv6/ipv6_ra.robot
index cf6d09ef8e..294e8c54b2 100644
--- a/tests/func/ipv6/ipv6_ra.robot
+++ b/tests/func/ipv6/ipv6_ra.robot
@@ -26,8 +26,9 @@
| Suite Setup | Run Keywords | Setup all TGs before traffic script
| ... | AND | Update All Interface Data On All Nodes | ${nodes}
| Test Setup | Setup all DUTs before test
-| Test Teardown | Run Keywords | Show packet trace on all DUTs | ${nodes}
-| ... | AND | Show vpp trace dump on all DUTs
+| Test Teardown | Run Keywords
+| ... | Show packet trace on all DUTs | ${nodes} | AND
+| ... | Show vpp trace dump on all DUTs
| Documentation | *IPv6 Router Advertisement test cases*
| ...
| ... | RFC4861 Neighbor Discovery. Encapsulations: Eth-IPv6-RA on links
diff --git a/tests/func/ipv6/ipv6_untagged.robot b/tests/func/ipv6/ipv6_untagged.robot
index 8557182a5f..8814cf3eae 100644
--- a/tests/func/ipv6/ipv6_untagged.robot
+++ b/tests/func/ipv6/ipv6_untagged.robot
@@ -24,8 +24,9 @@
| ... | AND | Vpp nodes setup ipv6 routing | ${nodes} | ${nodes_ipv6_addr}
| ... | AND | Setup all TGs before traffic script
| Test Setup | Clear interface counters on all vpp nodes in topology | ${nodes}
-| Test Teardown | Run Keyword If Test Failed | Show packet trace on all DUTs | ${nodes}
-| ... | AND | Show vpp trace dump on all DUTs
+| Test Teardown | Run Keywords
+| ... | Show packet trace on all DUTs | ${nodes} | AND
+| ... | Show vpp trace dump on all DUTs
| Documentation | *IPv6 routing test cases*
| ...
| ... | RFC2460 IPv6, RFC4443 ICMPv6, RFC4861 Neighbor Discovery.