Skip to content

[tune] update BlockMetadata args in tests#53791

Merged
raulchen merged 1 commit intoray-project:masterfrom
matthewdeng:tune-blockmetadata
Jun 13, 2025
Merged

[tune] update BlockMetadata args in tests#53791
raulchen merged 1 commit intoray-project:masterfrom
matthewdeng:tune-blockmetadata

Conversation

@matthewdeng
Copy link
Copy Markdown
Contributor

Follow-up to #53454

Closes #53786

Signed-off-by: Matthew Deng <matt@anyscale.com>
Copilot AI review requested due to automatic review settings June 13, 2025 04:10
@matthewdeng matthewdeng requested a review from a team as a code owner June 13, 2025 04:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the test cases for BlockMetadata by removing the deprecated "schema" argument in two test files.

  • Removed the "schema" parameter from the BlockMetadata instantiation in python/ray/tune/tests/test_tuner.py.
  • Removed the "schema" parameter from the BlockMetadata instantiation in python/ray/tune/impl/test_utils.py.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
python/ray/tune/tests/test_tuner.py Removed "schema" argument from BlockMetadata instantiation.
python/ray/tune/impl/test_utils.py Removed "schema" argument from BlockMetadata instantiation.
Comments suppressed due to low confidence (2)

python/ray/tune/tests/test_tuner.py:77

  • The removal of the 'schema' parameter from the BlockMetadata instantiation is consistent with the updated API. Please confirm that any dependent tests or usage elsewhere have been updated accordingly.
schema=None,

python/ray/tune/impl/test_utils.py:22

  • The 'schema' parameter removal here aligns with the new BlockMetadata API. Double-check that any assumptions regarding schema in tests are no longer required.
schema=None,

@matthewdeng matthewdeng added the go add ONLY when ready to merge, run all tests label Jun 13, 2025
@raulchen raulchen merged commit 149e152 into ray-project:master Jun 13, 2025
5 checks passed
elliot-barn pushed a commit that referenced this pull request Jun 18, 2025
Follow-up to #53454

Closes #53786

Signed-off-by: Matthew Deng <matt@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
Follow-up to #53454

Closes #53786

Signed-off-by: Matthew Deng <matt@anyscale.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.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.

CI test linux://python/ray/tune:test_tuner is consistently_failing

3 participants