mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Revert "just test ci behavior"
This reverts commit d590fbf104b1ba48e0fc23b9102e329bdd9b1764.
This commit is contained in:
parent
be6663f895
commit
f14d8b2425
1 changed files with 5 additions and 3 deletions
|
|
@ -318,11 +318,13 @@ public class IPythonInterpreterTest extends BasePythonInterpreterTest {
|
|||
});
|
||||
|
||||
pool.execute(interpretFuture);
|
||||
// Not testing anything just to see the ci behavior
|
||||
InterpreterResult res = interpretFuture.get(20000, TimeUnit.MILLISECONDS);
|
||||
// we sleep to ensure that the paragraph is running
|
||||
Thread.sleep(3000);
|
||||
pool.execute(completionFuture);
|
||||
List<InterpreterCompletion> autoRes = completionFuture.get(5000, TimeUnit.MILLISECONDS);
|
||||
|
||||
// We ensure that running and auto completion are not hanging.
|
||||
InterpreterResult res = interpretFuture.get(20000, TimeUnit.MILLISECONDS);
|
||||
List<InterpreterCompletion> autoRes = completionFuture.get(1000, TimeUnit.MILLISECONDS);
|
||||
assertTrue(res.code().name().equals("SUCCESS"));
|
||||
assertTrue(autoRes.size() > 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue