aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-01-21 12:02:46 +0100
committerTibor Frank <tifrank@cisco.com>2020-01-21 11:23:45 +0000
commit29c470d38f795ea8673b614597b3be89816ae2ad (patch)
tree9d5cf813b884f7268f881be57db551a4f4041355 /resources/libraries/python
parent032b6af581dc48fe71c52e3bb279e3324f98d50a (diff)
Ndrpdr: Add latency trials for smaller loads
Change-Id: I46bd4b58bdd02a3deed38c158214e1e9977dde05 Signed-off-by: Vratko Polak <vrpolak@cisco.com> (cherry picked from commit 8840972e7bbc45735f6e82e41ad369728c1b370e)
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/Constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index eded294f60..4e600098d5 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -217,6 +217,10 @@ class Constants:
# Duration of one trial in MRR test.
PERF_TRIAL_DURATION = get_float_from_env(u"PERF_TRIAL_DURATION", 1.0)
+ # Duration of one latency-specific trial in NDRPDR test.
+ PERF_TRIAL_LATENCY_DURATION = get_float_from_env(
+ u"PERF_TRIAL_LATENCY_DURATION", 5.0)
+
# UUID string of DUT1 /tmp volume created outside of the
# DUT1 docker in case of vpp-device test. ${EMPTY} value means that
# /tmp directory is inside the DUT1 docker.