You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by lr...@apache.org on 2023/08/10 16:38:39 UTC

[incubator-toree] branch master updated: [TOREE-546] Mitigate ZeroMQSocketRunnableSpec hang (#212)

This is an automated email from the ASF dual-hosted git repository.

lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new 7243d3ef [TOREE-546] Mitigate ZeroMQSocketRunnableSpec hang (#212)
7243d3ef is described below

commit 7243d3ef41487b05322702319dde91d3fdd60c6c
Author: Cheng Pan <ch...@apache.org>
AuthorDate: Fri Aug 11 00:38:34 2023 +0800

    [TOREE-546] Mitigate ZeroMQSocketRunnableSpec hang (#212)
---
 .../org/apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala | 1 +
 1 file changed, 1 insertion(+)

diff --git a/communication/src/test/scala/org/apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala b/communication/src/test/scala/org/apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala
index ea9d592b..47e9e18c 100644
--- a/communication/src/test/scala/org/apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala
+++ b/communication/src/test/scala/org/apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala
@@ -59,6 +59,7 @@ class ZeroMQSocketRunnableSpec extends FunSpec with Matchers
     mockSocketType = SocketType.RAW // mock[SocketType]
     zmqContext = ZMQ.context(1)
     pubSocket = zmqContext.socket(SocketType.PUB)
+    pubSocket.setLinger(0)
   }
 
   after {