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:36:43 UTC
[zeppelin] branch branch-0.9 updated: [Hotfix] Fix test of
NotebookTest
This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 408116b [Hotfix] Fix test of NotebookTest
408116b is described below
commit 408116bbc76d41e8657683ede1b7989fd167d46f
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);