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 2020/07/16 18:12:57 UTC

[incubator-toree] 02/05: Increase test timeout to avoid handing

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

commit 185a38f784c473e4be1adb99325f593f2b130a14
Author: Luciano Resende <lr...@apache.org>
AuthorDate: Tue Jul 14 14:27:46 2020 -0700

    Increase test timeout to avoid handing
---
 .../apache/toree/communication/socket/ZeroMQSocketRunnableSpec.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 aa0e993..1ab3bf5 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
@@ -18,7 +18,7 @@ package org.apache.toree.communication.socket
 
 import org.scalatest.concurrent.Eventually
 import org.scalatest.mock.MockitoSugar
-import org.scalatest.time.{Milliseconds, Span}
+import org.scalatest.time.{Milliseconds, Seconds, Span}
 import org.scalatest.{BeforeAndAfter, FunSpec, Matchers}
 import org.zeromq.ZMQ
 import org.zeromq.ZMQ.{Socket, Context}
@@ -29,7 +29,7 @@ class ZeroMQSocketRunnableSpec extends FunSpec with Matchers
   with MockitoSugar with Eventually with BeforeAndAfter {
 
   implicit override val patienceConfig = PatienceConfig(
-    timeout = scaled(Span(2000, Milliseconds)),
+    timeout = scaled(Span(3, Seconds)),
     interval = scaled(Span(5, Milliseconds))
   )