mirror of
https://github.com/wassname/ray.git
synced 2026-07-17 11:32:33 +08:00
[api] API deprecations and cleanups for 1.0 (internal_config and Checkpointable actor) (#10333)
* remove * internal config updates, remove Checkpointable * Lower object timeout default * remove json * Fix flaky test * Fix unit test
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# coding: utf-8
|
||||
import json
|
||||
import unittest
|
||||
|
||||
import ray
|
||||
@@ -190,9 +189,9 @@ class RayExecutorQueueTest(unittest.TestCase):
|
||||
connect=True,
|
||||
head_node_args={
|
||||
"num_cpus": 1,
|
||||
"_internal_config": json.dumps({
|
||||
"_system_config": {
|
||||
"num_heartbeats_timeout": 10
|
||||
})
|
||||
}
|
||||
})
|
||||
# Pytest doesn't play nicely with imports
|
||||
_register_all()
|
||||
|
||||
Reference in New Issue
Block a user