Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Improve TestObjectPut:

  • reduce code duplication
  • avoid unnecessary mocking

This is in preparation for HDDS-10570.

https://issues.apache.org/jira/browse/HDDS-10574

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/8401371232

@adoroszlai
Copy link
Contributor Author

Can someone please review? The goal of this change is to prepare this unit test for an upcoming bugfix (reducing change in the patch for the real fix).

@adoroszlai
Copy link
Contributor Author

@ivandika3 please take a look

Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

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

Thank you for the cleanup. LGTM +1.

I will resolve the conflict in #6435 if this is merged first.

@adoroszlai
Copy link
Contributor Author

Thanks @ivandika3 for the review, your PR is merged and this one is updated.

@duongkame can you please also review?

@adoroszlai adoroszlai requested review from aswinshakil and hemantk-12 and removed request for ChenSammi, guohao-rosicky and xichen01 March 26, 2024 21:03
Copy link
Contributor

@hemantk-12 hemantk-12 left a comment

Choose a reason for hiding this comment

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

Thanks, @adoroszlai for the cleanup.

Overall change looks good to me.

@adoroszlai adoroszlai merged commit e68183e into apache:master Mar 27, 2024
@adoroszlai
Copy link
Contributor Author

Thanks @hemantk-12, @ivandika3 for the review.

@adoroszlai adoroszlai deleted the HDDS-10574 branch March 27, 2024 18:31
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants