You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2021/10/25 07:23:08 UTC
[zeppelin] 04/04: Correct tests
This is an automated email from the ASF dual-hosted git repository.
pdallig pushed a commit to branch recover_interpretergroup
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
commit 8f2cabd4325a473ccfd969e82a53cced02064844
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Mon Oct 25 09:22:56 2021 +0200
Correct tests
---
.../java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java b/zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java
index 9246bf5..40abdf4 100644
--- a/zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java
+++ b/zeppelin-interpreter-integration/src/test/java/org/apache/zeppelin/integration/ZeppelinSparkClusterTest.java
@@ -1092,6 +1092,8 @@ public abstract class ZeppelinSparkClusterTest extends AbstractTestRestApi {
p1.getReturn().message().get(0).getData().contains("No such file or directory"));
// run it again, and get the same error
+ note.run(p.getId(), true);
+ assertEquals(Status.FINISHED, p.getStatus());
note.run(p1.getId(), true);
assertEquals(Status.ERROR, p1.getStatus());
assertTrue("Actual error message: " + p1.getReturn().message().get(0).getData(),