mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
rename test_path -> worker_path (#128)
This commit is contained in:
committed by
Philipp Moritz
parent
aaa0a514fa
commit
ac65f1031e
@@ -10,9 +10,8 @@ import test_functions
|
||||
class MicroBenchmarkTest(unittest.TestCase):
|
||||
|
||||
def testTiming(self):
|
||||
test_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
test_path = os.path.join(test_dir, "test_worker.py")
|
||||
services.start_singlenode_cluster(return_drivers=False, num_workers_per_objstore=3, worker_path=test_path)
|
||||
worker_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_worker.py")
|
||||
services.start_singlenode_cluster(return_drivers=False, num_workers_per_objstore=3, worker_path=worker_path)
|
||||
|
||||
# measure the time required to submit a remote task to the scheduler
|
||||
elapsed_times = []
|
||||
|
||||
Reference in New Issue
Block a user