mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 01:00:10 +08:00
@@ -41,6 +41,7 @@ py_test_module_list(
|
||||
"test_output.py",
|
||||
"test_placement_group.py",
|
||||
"test_reconstruction.py",
|
||||
"test_resource_demand_scheduler.py",
|
||||
"test_reference_counting_2.py",
|
||||
"test_reference_counting.py",
|
||||
"test_stress.py",
|
||||
|
||||
@@ -146,11 +146,12 @@ def test_get_instances_respects_max_limit():
|
||||
class AutoscalingTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
NODE_PROVIDERS["mock"] = \
|
||||
lambda: (None, self.create_provider)
|
||||
lambda config: self.create_provider
|
||||
self.provider = None
|
||||
self.tmpdir = tempfile.mkdtemp()
|
||||
|
||||
def tearDown(self):
|
||||
self.provider = None
|
||||
del NODE_PROVIDERS["mock"]
|
||||
shutil.rmtree(self.tmpdir)
|
||||
ray.shutdown()
|
||||
|
||||
Reference in New Issue
Block a user