Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Tweak TestSCMHAManagerImpl to let it pass with Ratis 3.1.0.

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

How was this patch tested?

Ozone CI with Ratis 3.1.0 RC0:
https://github.com/adoroszlai/ozone/actions/runs/9306740993

Regular CI:
https://github.com/adoroszlai/ozone/actions/runs/9306735813

@adoroszlai adoroszlai self-assigned this May 30, 2024
@duongkame
Copy link
Contributor

Should we just mock to provide a null checkpoint, like this

@adoroszlai
Copy link
Contributor Author

Should we just mock to provide a null checkpoint, like this

Since this is a unit test for SCMHAManagerImpl, I don't think we should mock/override its methods, rather some of its collaborators.

@adoroszlai adoroszlai requested a review from nandakumar131 May 31, 2024 07:45
@nandakumar131 nandakumar131 merged commit 787c9d3 into apache:master May 31, 2024
@nandakumar131
Copy link
Contributor

Thanks @adoroszlai for the quick fix and thanks @duongkame for taking a look at the fix.

@adoroszlai adoroszlai deleted the HDDS-10924 branch May 31, 2024 09:04
@adoroszlai
Copy link
Contributor Author

Thanks @nandakumar131 for the review.

smengcl pushed a commit to smengcl/hadoop-ozone that referenced this pull request Jun 7, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jun 12, 2024
chungen0126 pushed a commit to chungen0126/ozone that referenced this pull request Jun 27, 2024
jojochuang pushed a commit that referenced this pull request Jun 27, 2024
) (#6874)

(cherry picked from commit 787c9d3)

Co-authored-by: Doroszlai, Attila <[email protected]>
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
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.

3 participants