diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-03 11:29:20 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-03 11:29:20 +0200 |
commit | 613c788c0002c138e0e24d1ac7b889ab92267c30 (patch) | |
tree | 83743aea9df2a2a98d2fb93a391938d7d48b6838 /scripts/automation | |
parent | 04fecbc6acbf07ddac6a48a542eb86a916007ba7 (diff) |
regression: update benchmarks
Diffstat (limited to 'scripts/automation')
3 files changed, 7 insertions, 3 deletions
diff --git a/scripts/automation/regression/setups/kiwi02/benchmark.yaml b/scripts/automation/regression/setups/kiwi02/benchmark.yaml index 936af03a..2d47f8f8 100644 --- a/scripts/automation/regression/setups/kiwi02/benchmark.yaml +++ b/scripts/automation/regression/setups/kiwi02/benchmark.yaml @@ -111,7 +111,7 @@ test_static_routing_imix_asymmetric: exp_latency : 1 test_ipv6_simple : - multiplier : 36 + multiplier : 32 cores : 4 cpu_to_core_ratio : 30070000 cpu2core_custom_dev: YES diff --git a/scripts/automation/regression/setups/trex-dan/benchmark.yaml b/scripts/automation/regression/setups/trex-dan/benchmark.yaml index 3232dfec..4b47bd8e 100644 --- a/scripts/automation/regression/setups/trex-dan/benchmark.yaml +++ b/scripts/automation/regression/setups/trex-dan/benchmark.yaml @@ -75,8 +75,8 @@ test_nat_learning : allow_timeout_dev : YES test_routing_imix_64 : - multiplier : 28 - cores : 1 + multiplier : 150 + cores : 4 cpu_to_core_ratio : 280 exp_latency : 1 diff --git a/scripts/automation/regression/unit_tests/trex_general_test.py b/scripts/automation/regression/unit_tests/trex_general_test.py index 170baf84..4558dd41 100755 --- a/scripts/automation/regression/unit_tests/trex_general_test.py +++ b/scripts/automation/regression/unit_tests/trex_general_test.py @@ -227,6 +227,10 @@ class CTRexGeneral_Test(unittest.TestCase): if not trex_res.is_done_warmup(): self.fail('T-Rex did not reach warm-up situtaion. Results are not valid.') + # check history size is enough + if len(trex_res._history) < 5: + self.fail('T-Rex results list is too short. Increase the test duration or check unexpected stopping.') + # check T-Rex number of drops trex_tx_pckt = trex_res.get_last_value("trex-global.data.m_total_tx_pkts") trex_drops = trex_res.get_total_drops() |