Repository navigation
[Train] Deflake test_tensorflow_checkpoint - #63301
matthewdeng merged 1 commit into
Conversation
Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request increases the test size for test_tensorflow_checkpoint from "small" to "medium" to mitigate timeout issues. The reviewer suggested adding ":conftest" to the test's dependencies to ensure proper resource cleanup and Ray cluster lifecycle management, which may address the root cause of the shutdown delays.
| py_test( | ||
| name = "test_tensorflow_checkpoint", | ||
| size = "small", | ||
| size = "medium", |
There was a problem hiding this comment.
Increasing the test size to "medium" is a reasonable way to address timeout issues during shutdown. However, I noticed that this test is missing ":conftest" in its "deps" (line 817), unlike "test_torch_checkpoint" (line 865) and "test_tensorflow_predictor" (line 821). In this repository, "conftest.py" often contains essential fixtures for Ray cluster lifecycle management and cleanup. If this test relies on those fixtures for a clean exit, its absence might be contributing to the shutdown delays. Consider adding it to the "deps" list to ensure resources are released correctly.
test_tensorflow_checkpoint
## Description `test_tensorflow_checkpoint` is flaky however reviewing the logs, the test is taking the expected length of time however seems to be failing to shutdown in time. Therefore, to deflaky, this PR just increases the length of time for the test Signed-off-by: Mark Towers <[email protected]> Co-authored-by: Mark Towers <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
Description
test_tensorflow_checkpointis flaky however reviewing the logs, the test is taking the expected length of time however seems to be failing to shutdown in time.Therefore, to deflaky, this PR just increases the length of time for the test