Skip to content

Conversation

@nielsbauman
Copy link
Contributor

The main goal was to get rid of loads of usages of deprecated methods in
Metadata and its builder, but I figured it made more sense to move
these tests to a more appropriate test class. These changes mainly
consist of a copy-paste from one test class to another, and using
ProjectMetadata objects (and its builders) instead of Metadata
objects.

…sts`

The main goal was to get rid of loads of usages of deprecated methods in
`Metadata` and its builder, but I figured it made more sense to move
these tests to a more appropriate test class. These changes mainly
consist of a copy-paste from one test class to another, and using
`ProjectMetadata` objects (and its builders) instead of `Metadata`
objects.
@nielsbauman nielsbauman requested a review from ywangd July 8, 2025 20:06
@nielsbauman nielsbauman added >test Issues or PRs that are addressing/adding tests :Core/Infra/Core Core issues without another label labels Jul 8, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

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

LGTM

I didn't compare each individual methods that got moved. But the overall list of methods make sense to me and it should be safe enough as long as CI passes.

@nielsbauman nielsbauman enabled auto-merge (squash) July 14, 2025 13:40
@nielsbauman nielsbauman merged commit 3f32757 into elastic:main Jul 14, 2025
33 checks passed
@nielsbauman nielsbauman deleted the move-project-tests branch July 14, 2025 15:24
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
…sts` (elastic#130846)

The main goal was to get rid of loads of usages of deprecated methods in
`Metadata` and its builder, but I figured it made more sense to move
these tests to a more appropriate test class. These changes mainly
consist of a copy-paste from one test class to another, and using
`ProjectMetadata` objects (and its builders) instead of `Metadata`
objects.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
…sts` (elastic#130846)

The main goal was to get rid of loads of usages of deprecated methods in
`Metadata` and its builder, but I figured it made more sense to move
these tests to a more appropriate test class. These changes mainly
consist of a copy-paste from one test class to another, and using
`ProjectMetadata` objects (and its builders) instead of `Metadata`
objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants