summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/server/zmq_monitor_thread.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-03-01 18:40:58 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-03-01 18:40:58 +0200
commitdc905a7dd6c6938b170964d957a0fafb3cb1ac7f (patch)
tree62be98d6156789dc08095aa543a440b7c7e24ecc /scripts/automation/trex_control_plane/server/zmq_monitor_thread.py
parenta875cce88abb1facc2b6d59b3af011ae797b6d18 (diff)
STF publisher: ensure latest results are sent by CPP + get latest dump via Python API
Change-Id: I1836c0366785246acbcd8d238400440f5f3970f5 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/server/zmq_monitor_thread.py')
-rwxr-xr-xscripts/automation/trex_control_plane/server/zmq_monitor_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/server/zmq_monitor_thread.py b/scripts/automation/trex_control_plane/server/zmq_monitor_thread.py
index f559ebc1..172e2eb3 100755
--- a/scripts/automation/trex_control_plane/server/zmq_monitor_thread.py
+++ b/scripts/automation/trex_control_plane/server/zmq_monitor_thread.py
@@ -72,7 +72,7 @@ class ZmqMonitorSession(threading.Thread):
# add to trex_obj zmq latest dump, based on its 'name' header
if dict_obj != {}:
- self.trexObj.zmq_dump[dict_obj['name']] = dict_obj
+ self.trexObj.update_zmq_dump_key(dict_obj['name'], dict_obj)
if self.first_dump:
# change TRexStatus from starting to Running once the first ZMQ dump is obtained and parsed successfully
self.first_dump = False