summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierrick Louin <pierrick.louin@orange.com>2019-08-02 15:16:33 +0200
committerfmenguy <francoisregis.menguy@orange.com>2019-12-02 14:11:00 +0100
commit24314713446b6411cedce4329ab5ebfd6da678a2 (patch)
tree8d2bdfb2a722ca6f538c5567e7197173e703efba /test
parent15ecdba939f0377c0cccaa76e5a070ef2357056b (diff)
NFVBENCH-155 Add options to disable extra stats, latency stats and latency streamsPY27_BASE3.7.0py27
Change-Id: I9af56bf1b618a072adbc92b43e65e10b274d4f17 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_chains.py3
-rw-r--r--test/test_nfvbench.py5
2 files changed, 7 insertions, 1 deletions
diff --git a/test/test_chains.py b/test/test_chains.py
index 5fd1ce6..741bee7 100644
--- a/test/test_chains.py
+++ b/test/test_chains.py
@@ -70,6 +70,9 @@ def _get_chain_config(sc=ChainType.PVP, scc=1, shared_net=True, rate='1Mpps'):
config.duration_sec = 2
config.interval_sec = 1
config.openrc_file = "dummy.rc"
+ config.no_flow_stats = False
+ config.no_latency_stats = False
+ config.no_latency_streams = False
return config
def test_chain_runner_ext_no_openstack():
diff --git a/test/test_nfvbench.py b/test/test_nfvbench.py
index 04e3191..7a0a9ed 100644
--- a/test/test_nfvbench.py
+++ b/test/test_nfvbench.py
@@ -332,7 +332,10 @@ def _get_dummy_tg_config(chain_type, rate, scc=1, fc=10, step_ip='0.0.0.1',
'mbuf_factor': None,
'disable_hdrh': None,
'mbuf_64': None,
- 'service_mode': False
+ 'service_mode': False,
+ 'no_flow_stats': False,
+ 'no_latency_stats': False,
+ 'no_latency_streams': False
})