diff options
author | ahothan <ahothan@cisco.com> | 2018-12-07 15:05:06 -0800 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2018-12-07 15:44:57 -0800 |
commit | ed1df5da8e6468ec7a0e25a853fe803bfc0af3f6 (patch) | |
tree | 273b40d578a62eded8898e190c10080a09cfedf0 /test | |
parent | 8eaf1fcc4b2b3678d62ddb081f0d912fdc92bc20 (diff) |
NFVBENCH-118 VxLAN fixed rate: Trex far end port Rx counters are incorrect
Change-Id: If3d0b199f4b97f8610dea360cb9e70fabec06601
Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_chains.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/test_chains.py b/test/test_chains.py index 17c5b94..ebc606e 100644 --- a/test/test_chains.py +++ b/test/test_chains.py @@ -356,7 +356,11 @@ CHAIN_STATS = [{0: {'packets': [2000054, 1999996, 1999996]}}, 'total': {'packets': [30000004, 30000004, 30000004, 30000004, 30000004, 30000004]}}, {0: {'packets': [15000002, '', 14000002, 14000002, '', 13000002]}, 1: {'packets': [15000002, '', 15000002, 15000002, '', 15000002]}, - 'total': {'packets': [30000004, 29000004, 29000004, 29000004, 29000004, 28000004]}}] + 'total': {'packets': [30000004, 29000004, 29000004, 29000004, 29000004, 28000004]}}, + # example with non-available rx count in last position + {0: {'packets': [2000054, 1999996, None]}, + 1: {'packets': [2000054, 2000054, None]}, + 'total': {'packets': [4000108, 4000050, 4000050]}}] XP_CHAIN_STATS = [{0: {'packets': [2000054, '-58 (-0.0029%)', 1999996]}}, {0: {'packets': [2000054, '-58 (-0.0029%)', 1999996]}, 1: {'packets': [2000054, '=>', 2000054]}, @@ -371,7 +375,10 @@ XP_CHAIN_STATS = [{0: {'packets': [2000054, '-58 (-0.0029%)', 1999996]}}, '-1,000,000 (-7.1429%)']}, 1: {'packets': [15000002, '', '=>', '=>', '', 15000002]}, 'total': {'packets': [30000004, '-1,000,000 (-3.3333%)', '=>', '=>', '=>', - '-1,000,000 (-3.4483%)']}}] + '-1,000,000 (-3.4483%)']}}, + {0: {'packets': [2000054, '-58 (-0.0029%)', 'n/a']}, + 1: {'packets': [2000054, '=>', 'n/a']}, + 'total': {'packets': [4000108, '-58 (-0.0014%)', 4000050]}}] def test_summarizer(): |