Skip to content

[serve] deflake windows test#59771

Merged
abrarsheikh merged 1 commit intomasterfrom
flaky_windows
Dec 31, 2025
Merged

[serve] deflake windows test#59771
abrarsheikh merged 1 commit intomasterfrom
flaky_windows

Conversation

@abrarsheikh
Copy link
Contributor

test_controller was timing out

[2025-12-30T19:04:59Z] //python/ray/serve/tests:test_controller                                TIMEOUT in 3 out of 3 in 60.1s

Signed-off-by: abrar <abrar@anyscale.com>
@abrarsheikh abrarsheikh requested a review from a team as a code owner December 30, 2025 21:19
@abrarsheikh abrarsheikh added the go add ONLY when ready to merge, run all tests label Dec 30, 2025
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 addresses flakiness in the Windows tests, specifically test_controller, by replacing fixed time.sleep calls with wait_for_condition. This is an excellent improvement that makes the tests more robust and less prone to race conditions by waiting for specific states to be met instead of relying on arbitrary time delays. The related change in BUILD.bazel to re-categorize test_controller.py is also a reasonable step to provide it with appropriate test execution resources. The changes are correct and effectively tackle the described problem. I have no further comments.

@abrarsheikh abrarsheikh merged commit 4aa061c into master Dec 31, 2025
6 checks passed
@abrarsheikh abrarsheikh deleted the flaky_windows branch December 31, 2025 00:14
AYou0207 pushed a commit to AYou0207/ray that referenced this pull request Jan 13, 2026
test_controller was timing out
```
[2025-12-30T19:04:59Z] //python/ray/serve/tests:test_controller                                TIMEOUT in 3 out of 3 in 60.1s
```

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: jasonwrwang <jasonwrwang@tencent.com>
lee1258561 pushed a commit to pinterest/ray that referenced this pull request Feb 3, 2026
test_controller was timing out 
```
[2025-12-30T19:04:59Z] //python/ray/serve/tests:test_controller                                TIMEOUT in 3 out of 3 in 60.1s
```

Signed-off-by: abrar <abrar@anyscale.com>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
test_controller was timing out
```
[2025-12-30T19:04:59Z] //python/ray/serve/tests:test_controller                                TIMEOUT in 3 out of 3 in 60.1s
```

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: peterxcli <peterxcli@gmail.com>
peterxcli pushed a commit to peterxcli/ray that referenced this pull request Feb 25, 2026
test_controller was timing out
```
[2025-12-30T19:04:59Z] //python/ray/serve/tests:test_controller                                TIMEOUT in 3 out of 3 in 60.1s
```

Signed-off-by: abrar <abrar@anyscale.com>
Signed-off-by: peterxcli <peterxcli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants