mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +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
@@ -3,6 +3,7 @@ from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
import multiprocessing
|
||||
import os
|
||||
import subprocess
|
||||
import time
|
||||
import unittest
|
||||
@@ -81,9 +82,15 @@ class MonitorTest(unittest.TestCase):
|
||||
ray.worker.cleanup()
|
||||
subprocess.Popen(["ray", "stop"]).wait()
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get('RAY_USE_NEW_GCS', False),
|
||||
"Failing with the new GCS API.")
|
||||
def testCleanupOnDriverExitSingleRedisShard(self):
|
||||
self._testCleanupOnDriverExit(num_redis_shards=1)
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get('RAY_USE_NEW_GCS', False),
|
||||
"Hanging with the new GCS API.")
|
||||
def testCleanupOnDriverExitManyRedisShards(self):
|
||||
self._testCleanupOnDriverExit(num_redis_shards=5)
|
||||
self._testCleanupOnDriverExit(num_redis_shards=31)
|
||||
|
||||
Reference in New Issue
Block a user