From b883aab899c75a351b2c4af42c98e918810f2272 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 23 Feb 2018 10:04:26 +0100 Subject: Performance KW optimizations - Reducing test time by removing redundant KW. Change-Id: I03eeb0332cb88a11eff06df6f5e79d905df317a2 Signed-off-by: Peter Mikus --- resources/libraries/robot/performance/performance_setup.robot | 3 --- resources/libraries/robot/performance/performance_utils.robot | 3 --- 2 files changed, 6 deletions(-) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index 51e117ba9e..fad9b630a0 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -529,7 +529,6 @@ | | ... | | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} -| | Show statistics on all DUTs | ${nodes} | | Run Keyword If Test Failed | | ... | Set Test Variable | ${pkt_trace} | ${True} | | Run Keyword If Test Failed @@ -541,14 +540,12 @@ | | ... | | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} -| | Show statistics on all DUTs | ${nodes} | Tear down performance pdrchk test | | [Documentation] | Common test teardown for pdrchk performance tests. | | ... | | Remove All Added Ports On All DUTs From Topology | ${nodes} | | Show VAT History On All DUTs | ${nodes} -| | Show statistics on all DUTs | ${nodes} | Tear down performance mrr test | | [Documentation] | Common test teardown for max-received-rate performance diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index fa3174983e..b61c0ca2ac 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -476,11 +476,8 @@ | | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type} | | ... | | Return From Keyword If | ${rate} <= 10000 | ${-1} -| | ${ret}= | Is DPDK performance test -| | Run Keyword If | ${ret}==${False} | Clear all counters on all DUTs | | Send traffic on tg | ${duration} | ${rate}pps | ${framesize} | | ... | ${topology_type} | warmup_time=0 -| | Run Keyword If | ${ret}==${False} | Show statistics on all DUTs | ${nodes} | | Run keyword and return | Get latency | Traffic should pass with no loss -- cgit 1.2.3-korg