mirror of
https://github.com/wassname/ray.git
synced 2026-08-17 11:25:34 +08:00
[tune] remove some bottlenecks in trialrunner (#12476)
This commit is contained in:
@@ -36,6 +36,9 @@ def create_mock_components():
|
||||
|
||||
|
||||
class TrialRunnerTest2(unittest.TestCase):
|
||||
def setUp(self):
|
||||
os.environ["TUNE_STATE_REFRESH_PERIOD"] = "0.1"
|
||||
|
||||
def tearDown(self):
|
||||
ray.shutdown()
|
||||
_register_all() # re-register the evicted objects
|
||||
|
||||
Reference in New Issue
Block a user