aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorYulong Pei <yulong.pei@intel.com>2021-03-17 00:43:08 +0800
committerVratko Polak <vrpolak@cisco.com>2021-03-18 19:01:43 +0000
commit500dba02e62ba24f94972a0ef8f023418a7eee09 (patch)
tree4e9ece6411a474863e9e71dd437906428d755ad0 /resources/libraries
parent0f187ebc52b0eb959c0065ad3b67d8a81d273820 (diff)
fix two issues
1. wrong symbol link path for MLRsearch. 2. self._received force to integer in _parse_traffic_results function. Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: Ie86a549b222d28b8cecc889807044476975dffb1
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/TrafficGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index ce01aa613b..455a21ebb8 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -1040,7 +1040,7 @@ class TrafficGenerator(AbstractMeasurer):
"""
if self._received is None:
raise RuntimeError(u"The traffic generation has not been issued")
- if self._received == u"0":
+ if self._received == 0:
raise RuntimeError(u"No traffic forwarded")
def partial_traffic_loss_accepted(