Performance KW optimizations 73/10773/2
authorPeter Mikus <pmikus@cisco.com>
Fri, 23 Feb 2018 09:04:26 +0000 (10:04 +0100)
committerPeter Mikus <pmikus@cisco.com>
Tue, 27 Feb 2018 06:21:13 +0000 (06:21 +0000)
- Reducing test time by removing redundant KW.

Change-Id: I03eeb0332cb88a11eff06df6f5e79d905df317a2
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/robot/performance/performance_setup.robot
resources/libraries/robot/performance/performance_utils.robot

index 51e117b..fad9b63 100644 (file)
 | | ...
 | | 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
 | | ...
 | | 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
index fa31749..b61c0ca 100644 (file)
 | | [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