mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 05:22:26 +08:00
don't display errors when running test (#213)
This commit is contained in:
committed by
Philipp Moritz
parent
0947024ad9
commit
58b65d39a9
+1
-1
@@ -240,7 +240,7 @@ class APITest(unittest.TestCase):
|
||||
|
||||
def testNoArgs(self):
|
||||
worker_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_worker.py")
|
||||
services.start_ray_local(num_workers=1, worker_path=worker_path)
|
||||
services.start_ray_local(num_workers=1, worker_path=worker_path, driver_mode=ray.WORKER_MODE)
|
||||
|
||||
test_functions.no_op()
|
||||
time.sleep(0.2)
|
||||
|
||||
Reference in New Issue
Block a user