summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-05-19 14:18:51 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-05-19 14:18:51 +0300
commitde259d86dae5f53cca842ccaa2e11646408ad5f5 (patch)
tree6307a30ca00134baf31737e8273e693834e942f8 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
parentbbc4f5349ad0f41e675101b7fa3edaf4c3522dd5 (diff)
Enlarged ZMQ timeout
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
index fa04b9f6..065a1442 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_jsonrpc_client.py
@@ -273,8 +273,8 @@ class JsonRpcClient(object):
except zmq.error.ZMQError as e:
return RC_ERR("ZMQ Error: Bad server or port name: " + str(e))
- self.socket.setsockopt(zmq.SNDTIMEO, 1000)
- self.socket.setsockopt(zmq.RCVTIMEO, 1000)
+ self.socket.setsockopt(zmq.SNDTIMEO, 10000)
+ self.socket.setsockopt(zmq.RCVTIMEO, 10000)
self.connected = True