Repository navigation
[Data] Give test_random_access a moderate timeout - #67097
Merged
goutamvenkat-anyscale merged 1 commit intoOct 16, 2026
Merged
goutamvenkat-anyscale merged 1 commit into
goutamvenkat-anyscale merged 1 commit into
Conversation
Passing runs take 36-59s, so the small-test default of 60s times out under load. Signed-off-by: Goutam <[email protected]> Co-authored-by: Cursor <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Bazel build configuration for the test_random_access target in python/ray/data/BUILD.bazel. It adds an explanatory comment and increases the test timeout to 'moderate' to prevent timeouts under heavy load. There are no review comments to evaluate, and the changes appear correct.
rayhhome
approved these changes
Oct 16, 2026
| ], | ||
| ) | ||
|
|
||
| # Several distributed sorts plus hundreds of serial ray.get calls. Passing |
Contributor
There was a problem hiding this comment.
Do we need to add this comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
//python/ray/data:test_random_accessflakes because Bazelsize = "small"kills the target at 60s. Recent passing runs took 36s, 53s, and 59s. Failures are SIGTERM duringtest_stats(the last test), not assertion errors. See postmerge build 20322.Dataset.sort()asSortSamplingOp -> SortShuffleMapOp -> ShuffleReduceOpunder the defaultSHUFFLE_V2strategy.to_random_access_dataset()sorts on every call, and this file does that five times (10 or 20 partitions, one 1-CPU sample task per block, then an ordered reduce per partition). That fixed per-stage cost is what pushed the target up against the 60s cap. The serialget_asyncloop predates the regression.size = "small"and settimeout = "moderate"(5 minutes). This API is deprecated; the test should not grow a special sort path.gh pr list --repo ray-project/ray --state open --search "test_random_access in:title"returned nothing.Test plan
//python/ray/data:test_random_accessand it finishes instead ofTIMEOUTaround 60s.AI assistance was used.