better printing of errors (#153)

This commit is contained in:
Robert Nishihara
2016-06-24 13:22:29 -07:00
committed by Philipp Moritz
parent 75674d1ba1
commit abaa4211d4
4 changed files with 46 additions and 22 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ class APITest(unittest.TestCase):
class TaskStatusTest(unittest.TestCase):
def testFailedTask(self):
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)
services.start_singlenode_cluster(return_drivers=False, num_workers_per_objstore=3, worker_path=worker_path, driver_mode=ray.WORKER_MODE)
test_functions.test_alias_f()
test_functions.throw_exception_fct()
test_functions.throw_exception_fct()