diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-02-23 10:04:26 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-02-27 06:21:13 +0000 |
commit | b883aab899c75a351b2c4af42c98e918810f2272 (patch) | |
tree | e748e5ab6a52551cceffca2ddbef1345d6f95283 /resources | |
parent | 5ddad70aeecb3f7d1f9726ac6a58e22cc6e82137 (diff) |
Performance KW optimizations
- Reducing test time by removing redundant KW.
Change-Id: I03eeb0332cb88a11eff06df6f5e79d905df317a2
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_setup.robot | 3 | ||||
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 3 |
2 files changed, 0 insertions, 6 deletions
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 |