Revert "just test ci behavior"

This reverts commit d590fbf104b1ba48e0fc23b9102e329bdd9b1764.
This commit is contained in:
marc hurabielle 2019-03-22 18:27:57 +09:00
parent be6663f895
commit f14d8b2425

View file

@ -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);
}