zjffdu commented on a change in pull request #3925:
URL: https://github.com/apache/zeppelin/pull/3925#discussion_r517381359
##########
File path:
python/src/test/java/org/apache/zeppelin/python/IPythonInterpreterTest.java
##########
@@ -475,7 +475,7 @@ public void testIPythonFailToLaunch() throws
InterpreterException {
fail("Should not be able to start IPythonInterpreter");
} catch (InterpreterException e) {
String exceptionMsg = ExceptionUtils.getStackTrace(e);
- assertTrue(exceptionMsg, exceptionMsg.contains("No such file or
directory"));
+ assertTrue(exceptionMsg, exceptionMsg.contains("java.io.IOException"));
Review comment:
I still think it is better to check the exact error message instead of a
general IOException. I believe there should be a setting to turn off the error
message translation
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]