summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2015-12-21 11:35:01 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2015-12-21 11:35:01 +0200
commitfca3bf55efa41d4d85680aa6d37eb5304c049ccb (patch)
treeefcec426ebb18fef30cd8be3dad75835a31fb0c7 /scripts/automation/trex_control_plane/client
parentdbd2b47ce0683051288d3fa225285956fab5ab3f (diff)
trex_client.py: maximal latency should not include c-max-*, only max-*
Diffstat (limited to 'scripts/automation/trex_control_plane/client')
-rwxr-xr-xscripts/automation/trex_control_plane/client/trex_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_client.py b/scripts/automation/trex_control_plane/client/trex_client.py
index 40a8a45d..1d94dc06 100755
--- a/scripts/automation/trex_control_plane/client/trex_client.py
+++ b/scripts/automation/trex_control_plane/client/trex_client.py
@@ -1104,11 +1104,11 @@ class CTRexResult(object):
# handle latency data
if self.latency_checked:
latency_pre = "trex-latency"
- self._max_latency = self.get_last_value("{latency}.data".format(latency = latency_pre), ".*max-")#None # TBC
+ self._max_latency = self.get_last_value("{latency}.data".format(latency = latency_pre), "max-")#None # TBC
# support old typo
if self._max_latency is None:
latency_pre = "trex-latecny"
- self._max_latency = self.get_last_value("{latency}.data".format(latency = latency_pre), ".*max-")
+ self._max_latency = self.get_last_value("{latency}.data".format(latency = latency_pre), "max-")
self._avg_latency = self.get_last_value("{latency}.data".format(latency = latency_pre), "avg-")#None # TBC
self._avg_latency = CTRexResult.__avg_all_and_rename_keys(self._avg_latency)