Remove timeout for Redis commands. (#649)

* update

* Remove interaction between callback data identifier and event loop.

* Remove tests that no longer apply.
This commit is contained in:
Eric Liang
2017-06-09 15:55:36 -07:00
committed by Robert Nishihara
parent ee1d4e5ea2
commit d4d2c03ac5
6 changed files with 61 additions and 25 deletions
+17
View File
@@ -67,6 +67,23 @@ class TaskTests(unittest.TestCase):
self.assertTrue(ray.services.all_processes_alive())
ray.worker.cleanup()
def testSubmittingManyTasks(self):
ray.init()
@ray.remote
def f(x):
return 1
def g(n):
x = 1
for i in range(n):
x = f.remote(x)
return x
ray.get([g(1000) for _ in range(100)])
self.assertTrue(ray.services.all_processes_alive())
ray.worker.cleanup()
def testGettingAndPutting(self):
ray.init(num_workers=1)