mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Reduce 😴 time in python interpreter unit-test
This commit is contained in:
parent
1be77325bf
commit
65698d241a
1 changed files with 2 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ public class PythonInterpreterTest {
|
|||
|
||||
assertTrue(serverIsListeningOn(py4jPort));
|
||||
pythonInterpreter.close();
|
||||
TimeUnit.SECONDS.sleep(1);
|
||||
TimeUnit.MILLISECONDS.sleep(100);
|
||||
assertFalse(serverIsListeningOn(py4jPort));
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ public class PythonInterpreterTest {
|
|||
|
||||
//when
|
||||
pythonInterpreter.close();
|
||||
TimeUnit.SECONDS.sleep(1);
|
||||
TimeUnit.MILLISECONDS.sleep(100);
|
||||
|
||||
//then
|
||||
assertFalse(serverIsListeningOn(py4jPort));
|
||||
|
|
|
|||
Loading…
Reference in a new issue