You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2021/02/01 04:37:05 UTC

[zeppelin] branch master updated: [Hotfix] Fix test of NotebookTest

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

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new a22b59e  [Hotfix] Fix test of NotebookTest
a22b59e is described below

commit a22b59e18a3ea9e844f7fb288c1c3bb9b0dc94b9
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Mon Feb 1 07:53:00 2021 +0800

    [Hotfix] Fix test of NotebookTest
---
 .../src/test/java/org/apache/zeppelin/notebook/NotebookTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NotebookTest.java b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NotebookTest.java
index b8415c6..cc775dd 100644
--- a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NotebookTest.java
+++ b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NotebookTest.java
@@ -591,7 +591,7 @@ public class NotebookTest extends AbstractInterpreterTest implements ParagraphJo
   public void testSchedulePoolUsage() throws InterruptedException, IOException {
     final int timeout = 30;
     final String everySecondCron = "* * * * * ?";
-    final CountDownLatch jobsToExecuteCount = new CountDownLatch(13);
+    final CountDownLatch jobsToExecuteCount = new CountDownLatch(8);
     final Note note = notebook.createNote("note1", anonymous);
 
     executeNewParagraphByCron(note, everySecondCron);
@@ -655,7 +655,7 @@ public class NotebookTest extends AbstractInterpreterTest implements ParagraphJo
 
     System.setProperty(ConfVars.ZEPPELIN_NOTEBOOK_CRON_FOLDERS.getVarName(), "/System");
     try {
-      final int timeout = 10;
+      final int timeout = 20;
       final String everySecondCron = "* * * * * ?";
       final CountDownLatch jobsToExecuteCount = new CountDownLatch(5);
       final Note note = notebook.createNote("note1", anonymous);