unify starting local cluster with attaching to existing cluster (#327)

This commit is contained in:
Robert Nishihara
2016-07-31 19:26:35 -07:00
committed by Philipp Moritz
parent 0e5b858324
commit 2040372084
17 changed files with 104 additions and 90 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class MicroBenchmarkTest(unittest.TestCase):
def testTiming(self):
reload(test_functions)
ray.services.start_ray_local(num_workers=3)
ray.init(start_ray_local=True, num_workers=3)
# measure the time required to submit a remote task to the scheduler
elapsed_times = []