Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1063

Flaky Test - PythonInterpreterTest.testClose

    XMLWordPrintableJSON

    Details

      Description

      Happens on CI environment:

      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.486 sec <<< FAILURE! - in org.apache.zeppelin.python.PythonInterpreterTest
      testClose(org.apache.zeppelin.python.PythonInterpreterTest)  Time elapsed: 0.377 sec  <<< FAILURE!
      java.lang.AssertionError: null
          at org.junit.Assert.fail(Assert.java:86)
          at org.junit.Assert.assertTrue(Assert.java:41)
          at org.junit.Assert.assertFalse(Assert.java:64)
          at org.junit.Assert.assertFalse(Assert.java:74)
          at org.apache.zeppelin.python.PythonInterpreterTest.testClose(PythonInterpreterTest.java:141)
      

      Which, from the code

          //when
          pythonInterpreter.close();
          //then
          assertFalse(serverIsListeningOn(py4jPort));
      

      means that after interpreter has been .close() - there is still a process, listening on py4jPort.

        Attachments

          Activity

            People

            • Assignee:
              bzz Alexander Bezzubov
              Reporter:
              Mina Lee Mina Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: