mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
[tune] Fix log to file on actor reuse (#10363)
This commit is contained in:
1 parent
6d2af33a01
commit
53ab228b75
2 files changed
+3
-3
No files matched your search
@@ -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