Skip to content

Conversation

@KaisennHu
Copy link
Contributor

@KaisennHu KaisennHu commented Jan 8, 2026

Description

The test_operators.py file (~1,670 lines, 28 test functions) occasionally times out during CI runs. We should split it into smaller, logically grouped test modules to improve test reliability and allow better parallel execution.
@tianyi-ge

Related issues

Fixes #59881

Signed-off-by: Haichuan <kaisennhu@gmail.com>
@KaisennHu KaisennHu requested a review from a team as a code owner January 8, 2026 02:57
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively refactors the large test_operators.py file into smaller, more focused test modules, which is a great improvement for maintainability and test organization. The changes are well-structured and align with the goal of improving test reliability. I've identified a couple of minor issues: a leftover debugging print statement and a potentially incorrect assertion in one of the new test files. Overall, this is a solid refactoring.

@ray-gardener ray-gardener bot added data Ray Data-related issues community-contribution Contributed by the community labels Jan 8, 2026
Copy link
Member

@bveeramani bveeramani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ty!

@bveeramani bveeramani enabled auto-merge (squash) January 9, 2026 19:37
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Jan 9, 2026
@bveeramani bveeramani merged commit ffc7111 into ray-project:master Jan 9, 2026
8 checks passed
AYou0207 pushed a commit to AYou0207/ray that referenced this pull request Jan 13, 2026
…y-project#59959)

## Description
The
[test_operators.py](https://github.com/ray-project/ray/blob/f85c5255669d8a682673401b54a86612a79058e3/python/ray/data/tests/test_operators.py)
file (~1,670 lines, 28 test functions) occasionally times out during CI
runs. We should split it into smaller, logically grouped test modules to
improve test reliability and allow better parallel execution.
@tianyi-ge
## Related issues
Fixes ray-project#59881

Signed-off-by: Haichuan <kaisennhu@gmail.com>
Signed-off-by: jasonwrwang <jasonwrwang@tencent.com>
@KaisennHu KaisennHu deleted the split-operators-test branch January 24, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community data Ray Data-related issues go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Data] Split test_operators.py into smaller, focused test modules

2 participants