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 <[email protected]>
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 {

Reply via email to