-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-1063: fix PythonInterpreter flaky test #1134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Should fix build on master and #1100 |
b0b3f32 to
3529fe5
Compare
|
Rebased on latest master, waiting CI to finish and merging as a HOTFIX |
|
CI fails with something strange, never seen before re-triggerin, to see if it's reproducable |
|
|
||
| assertTrue(serverIsListeningOn(py4jPort)); | ||
| pythonInterpreter.close(); | ||
| TimeUnit.SECONDS.sleep(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be too short for slow Travis CI runs?
|
LGTM seems like CI passed. |
|
Reviews addressed in 65698d2, waiting for CI now |
|
CI is green, merging if there is no more discussion |
### What is this PR for? fix flaky `PythonInterpreter.testClose()` test ### What type of PR is it? Hot Fix ### What is the Jira issue? [ZEPPELIN-1063](https://issues.apache.org/jira/browse/ZEPPELIN-1063) ### How should this be tested? CI should pass ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Alexander Bezzubov <bzz@apache.org> Closes apache#1134 from bzz/ZEPPELIN-1063/python/add-retrys and squashes the following commits: 65698d2 [Alexander Bezzubov] Reduce 😴 time in python interpreter unit-test 1be7732 [Alexander Bezzubov] Adding timeout for py4j gateway to have time to shutdown 3529fe5 [Alexander Bezzubov] fix PythonInterpreterTest.testClose() test
What is this PR for?
fix flaky
PythonInterpreter.testClose()testWhat type of PR is it?
Hot Fix
What is the Jira issue?
ZEPPELIN-1063
How should this be tested?
CI should pass
Questions: