mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 14:12:00 +08:00
[tune] Fix log to file on actor reuse (#10363)
This commit is contained in:
@@ -7,7 +7,7 @@ py_test(
|
||||
name = "test_actor_reuse",
|
||||
size = "medium",
|
||||
srcs = ["tests/test_actor_reuse.py"],
|
||||
tags = ["jenkins_only"],
|
||||
tags = ["exclusive"],
|
||||
deps = [":tune_lib"],
|
||||
)
|
||||
|
||||
|
||||
@@ -398,9 +398,9 @@ class Trainable:
|
||||
|
||||
self.log_result(result)
|
||||
|
||||
if self._stdout_stream:
|
||||
if self._stdout_context:
|
||||
self._stdout_stream.flush()
|
||||
if self._stderr_stream:
|
||||
if self._stderr_context:
|
||||
self._stderr_stream.flush()
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user