aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-01-21 12:02:46 +0100
committerVratko Polak <vrpolak@cisco.com>2020-01-21 12:02:46 +0100
commit8840972e7bbc45735f6e82e41ad369728c1b370e (patch)
tree7bf0fddc8fa1409ce0b3d01d6cea120d9398dde7 /resources/libraries/python
parent34004e2a214ffe0cf71dc5ca191d0e54475dca02 (diff)
Ndrpdr: Add latency trials for smaller loads
Change-Id: I46bd4b58bdd02a3deed38c158214e1e9977dde05 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
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.