Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[serve] Fix flaky test_http_state #39184

Merged
merged 18 commits into from
Sep 6, 2023

Conversation

GeneDer
Copy link
Contributor

@GeneDer GeneDer commented Aug 31, 2023

Why are these changes needed?

Ensure state.update is not called at terminal states.

Related issue number

Patch https://buildkite.com/ray-project/oss-ci-build-branch/builds/5824#018a48cd-dead-40fc-82c0-547b3dab373f/6-322

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@GeneDer GeneDer self-assigned this Aug 31, 2023
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
@GeneDer GeneDer marked this pull request as ready for review September 5, 2023 14:03
@GeneDer
Copy link
Contributor Author

GeneDer commented Sep 6, 2023

@edoakes just in case you missed this. It's ready to merge. All related tests are passing

@edoakes edoakes merged commit 74bce4a into ray-project:master Sep 6, 2023
34 of 37 checks passed
@GeneDer GeneDer deleted the fix-http-proxy-state-windows branch September 6, 2023 20:11
@GeneDer GeneDer mentioned this pull request Sep 7, 2023
8 tasks
harborn pushed a commit to harborn/ray that referenced this pull request Sep 8, 2023
Ensure `state.update` is not called at terminal states.
edoakes pushed a commit that referenced this pull request Sep 8, 2023
Re: #39184 fixes the error when calling update() from a terminal state. However, in this case, the update() on the proxy actor will no longer be called and will not meet the equality that the test is checking. This PR fix the test by checking the actual health checks count is less or equal to the expected health checks count.
jimthompson5802 pushed a commit to jimthompson5802/ray that referenced this pull request Sep 12, 2023
Ensure `state.update` is not called at terminal states.

Signed-off-by: Jim Thompson <[email protected]>
jimthompson5802 pushed a commit to jimthompson5802/ray that referenced this pull request Sep 12, 2023
Re: ray-project#39184 fixes the error when calling update() from a terminal state. However, in this case, the update() on the proxy actor will no longer be called and will not meet the equality that the test is checking. This PR fix the test by checking the actual health checks count is less or equal to the expected health checks count.
Signed-off-by: Jim Thompson <[email protected]>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
Ensure `state.update` is not called at terminal states.

Signed-off-by: Victor <[email protected]>
vymao pushed a commit to vymao/ray that referenced this pull request Oct 11, 2023
Re: ray-project#39184 fixes the error when calling update() from a terminal state. However, in this case, the update() on the proxy actor will no longer be called and will not meet the equality that the test is checking. This PR fix the test by checking the actual health checks count is less or equal to the expected health checks count.
Signed-off-by: Victor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants