From dc905a7dd6c6938b170964d957a0fafb3cb1ac7f Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Wed, 1 Mar 2017 18:40:58 +0200 Subject: STF publisher: ensure latest results are sent by CPP + get latest dump via Python API Change-Id: I1836c0366785246acbcd8d238400440f5f3970f5 Signed-off-by: Yaroslav Brustinov --- scripts/automation/trex_control_plane/server/zmq_monitor_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/server/zmq_monitor_thread.py') 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 -- cgit