You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2018/06/21 01:15:43 UTC

zeppelin git commit: [ZEPPELIN-3554] Flaky test - InterpreterContextTest.testThreadLocal

Repository: zeppelin
Updated Branches:
  refs/heads/master ebca7aed7 -> a7e43d600


[ZEPPELIN-3554] Flaky test - InterpreterContextTest.testThreadLocal

### What is this PR for?
Fix flaky test. See [ZEPL-3554](https://issues.apache.org/jira/browse/ZEPPELIN-3554)

### What type of PR is it?
Bug Fix

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3554

### How should this be tested?
* First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
* Strongly recommended: add automated unit tests for any new or changed behavior
* Outline any manual steps to test the PR here.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Lee moon soo <mo...@apache.org>

Closes #3036 from Leemoonsoo/ZEPPELIN-3554 and squashes the following commits:

87fa07b2e [Lee moon soo] Clear InterpreterContext before test start


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/a7e43d60
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/a7e43d60
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/a7e43d60

Branch: refs/heads/master
Commit: a7e43d600f86811ec695ad0606845d7a114f6fba
Parents: ebca7ae
Author: Lee moon soo <mo...@apache.org>
Authored: Wed Jun 20 10:49:37 2018 +0900
Committer: Lee moon soo <mo...@apache.org>
Committed: Thu Jun 21 10:15:36 2018 +0900

----------------------------------------------------------------------
 .../org/apache/zeppelin/interpreter/InterpreterContextTest.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/a7e43d60/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterContextTest.java
----------------------------------------------------------------------
diff --git a/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterContextTest.java b/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterContextTest.java
index 4888f5e..62b4035 100644
--- a/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterContextTest.java
+++ b/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterContextTest.java
@@ -26,6 +26,7 @@ public class InterpreterContextTest {
 
   @Test
   public void testThreadLocal() {
+    InterpreterContext.remove();
     assertNull(InterpreterContext.get());
 
     InterpreterContext.set(InterpreterContext.builder()