GitHub user prabhjyotsingh opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/642
Travis build fix
### What is this PR for?
A lot of time travis fails with
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.77
sec <<< FAILURE! - in org.apache.zeppelin.notebook.NotebookTest
testSelectingReplImplementation(org.apache.zeppelin.notebook.NotebookTest)
Time elapsed: 0.025 sec <<< ERROR!
org.apache.zeppelin.interpreter.InterpreterException: mock2 interpreter
not found
at
org.apache.zeppelin.notebook.NoteInterpreterLoader.get(NoteInterpreterLoader.java:148)
at org.apache.zeppelin.notebook.Note.run(Note.java:365)
at
org.apache.zeppelin.notebook.NotebookTest.testSelectingReplImplementation(NotebookTest.java:119)
.
.
.
.
Tests in error:
NotebookTest.testSelectingReplImplementation:119 û Interpreter
mock2 interpret...
This is fix for that error, this doesn't happens always. But here is a lot
when this failed last time.
https://s3.amazonaws.com/archive.travis-ci.org/jobs/102172625/log.txt
### What type of PR is it?
Improvement
### Todos
* [x] - Clear registered interpreters after a test case is executed.
### Is there a relevant Jira issue?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prabhjyotsingh/incubator-zeppelin
travisBuildFix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/642.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #642
----
commit b07bca766648c62318f9ebada50ba00a606b5fb4
Author: Prabhjyot Singh <[email protected]>
Date: 2016-01-15T09:29:49Z
instead of 2 create 1 directory
commit ddda3c50a209157947690decca86794dad35b8a9
Author: Prabhjyot Singh <[email protected]>
Date: 2016-01-15T09:30:02Z
registeredInterpreters.clear() in tearDown
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---