aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/PLRsearch
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-07-13 12:17:44 +0200
committerVratko Polak <vrpolak@cisco.com>2020-07-13 11:14:04 +0000
commit9378751a08ca5660886927f5502dcef19bc7f51c (patch)
tree25d757117051b75689ca6fb40439e127c67f189b /resources/libraries/python/PLRsearch
parentbc36a6a974e63722dbae42c552eb0d95ae7b95a9 (diff)
Soak: Do not allow negative loss
Change-Id: I6da359d25edc415e44263d3f85f166369e564987 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/PLRsearch')
-rw-r--r--resources/libraries/python/PLRsearch/PLRsearch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/PLRsearch/PLRsearch.py b/resources/libraries/python/PLRsearch/PLRsearch.py
index 37ee468405..fb4ee1a4d0 100644
--- a/resources/libraries/python/PLRsearch/PLRsearch.py
+++ b/resources/libraries/python/PLRsearch/PLRsearch.py
@@ -57,6 +57,8 @@ class PLRsearch:
trial_number_offset=0, timeout=1800.0, trace_enabled=False):
"""Store rate measurer and additional parameters.
+ The measurer must never report negative loss count.
+
TODO: Copy AbstractMeasurer from MLRsearch.
:param measurer: The measurer to call when searching.