FIX: Log MACIP ACL settings only if test failed 68/8868/1
authorJan Gelety <jgelety@cisco.com>
Tue, 17 Oct 2017 13:36:54 +0000 (15:36 +0200)
committerJan Gelety <jgelety@cisco.com>
Wed, 18 Oct 2017 06:12:25 +0000 (06:12 +0000)
Change-Id: I6d51c662d8b23789adcd9c3d1b1e8736f71d5279
Signed-off-by: Jan Gelety <jgelety@cisco.com>
(cherry picked from commit f3e80e15bfa2292e635c4ab8f5496d5eab46a350)

resources/libraries/robot/performance/performance_setup.robot

index 9713c22..434a555 100644 (file)
 | | ...
 | | Tear down performance discovery test | ${rate} | ${framesize}
 | | ... | ${traffic_profile}
-| | Run Keyword And Ignore Error | Vpp Log Macip Acl Settings | ${dut1}
+| | Run Keyword If Test Failed | Run Keyword And Ignore Error
+| | ... | Vpp Log Macip Acl Settings | ${dut1}
 | | Run Keyword And Ignore Error
 | | ... | Vpp Log Macip Acl Interface Assignment | ${dut1}