From 7243d3ef41487b05322702319dde91d3fdd60c6c Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Fri, 11 Aug 2023 00:38:34 +0800 Subject: [PATCH] [TOREE-546] Mitigate ZeroMQSocketRunnableSpec hang (#212) --- .../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 {