mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 09:39:46 +08:00
Start integrating new GCS APIs (#1379)
* Start integrating new GCS calls * fixes * tests * cleanup * cleanup and valgrind fix * update tests * fix valgrind * fix more valgrind * fixes * add separate tests for GCS * fix linting * update tests * cleanup * fix python linting * more fixes * fix linting * add plasma manager callback * add some documentation * fix linting * fix linting * fixes * update * fix linting * fix * add spillback count * fixes * linting * fixes * fix linting * fix * fix * fix
This commit is contained in:
committed by
Zongheng Yang
parent
35b1d6189b
commit
a3f8fa426b
@@ -188,6 +188,9 @@ class TestGlobalScheduler(unittest.TestCase):
|
||||
db_client_id = self.get_plasma_manager_id()
|
||||
assert(db_client_id is not None)
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get('RAY_USE_NEW_GCS', False),
|
||||
"New GCS API doesn't have a Python API yet.")
|
||||
def test_integration_single_task(self):
|
||||
# There should be three db clients, the global scheduler, the local
|
||||
# scheduler, and the plasma manager.
|
||||
@@ -301,9 +304,15 @@ class TestGlobalScheduler(unittest.TestCase):
|
||||
|
||||
self.assertEqual(num_tasks_done, num_tasks)
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get('RAY_USE_NEW_GCS', False),
|
||||
"New GCS API doesn't have a Python API yet.")
|
||||
def test_integration_many_tasks_handler_sync(self):
|
||||
self.integration_many_tasks_helper(timesync=True)
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get('RAY_USE_NEW_GCS', False),
|
||||
"New GCS API doesn't have a Python API yet.")
|
||||
def test_integration_many_tasks(self):
|
||||
# More realistic case: should handle out of order object and task
|
||||
# notifications.
|
||||
|
||||
Reference in New Issue
Block a user