From 3ea197e5df0de834151dccfa0c7f70651741cac9 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 2 Mar 2017 01:25:51 +0200 Subject: t-rex-64: catch exit with trap to restore tty settings Change-Id: Id336aa95ceff5e958e9bce329c85eb7201772712 Signed-off-by: Yaroslav Brustinov --- scripts/automation/trex_control_plane/server/trex_launch_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/server/trex_launch_thread.py') diff --git a/scripts/automation/trex_control_plane/server/trex_launch_thread.py b/scripts/automation/trex_control_plane/server/trex_launch_thread.py index a4a7a97c..9598bc98 100755 --- a/scripts/automation/trex_control_plane/server/trex_launch_thread.py +++ b/scripts/automation/trex_control_plane/server/trex_launch_thread.py @@ -77,7 +77,7 @@ class AsynchronousTRexSession(threading.Thread): logger.debug("Finished handling a single run of TRex.") self.trexObj.zmq_dump = None - def join (self, timeout = None): + def join (self, timeout = 5): self.stoprequest.set() super(AsynchronousTRexSession, self).join(timeout) -- cgit 1.2.3-korg