Skip to content

HDDS-15753. Rename TestClock to MockClock.#10712

Merged
adoroszlai merged 2 commits into
apache:masterfrom
prathmesh12-coder:HDDS-15753
Jul 10, 2026
Merged

HDDS-15753. Rename TestClock to MockClock.#10712
adoroszlai merged 2 commits into
apache:masterfrom
prathmesh12-coder:HDDS-15753

Conversation

@prathmesh12-coder

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  • Ozone tests are named Test*, but TestClock is not a test. It should be renamed to MockClock.
  • Renamed TestClock.java to MockClock.java.
  • Updated imports, types, and variable names (testClockmockClock) across all usages.

What is the link to the Apache JIRA

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

How was this patch tested?

CI success : https://github.com/prathmesh12-coder/ozone/actions/runs/29089318338

@adoroszlai adoroszlai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @prathmesh12-coder for the patch. Can we please keep original variable names to reduce change?

@prathmesh12-coder

Copy link
Copy Markdown
Contributor Author

Thanks @adoroszlai !!
done

@adoroszlai adoroszlai merged commit e4124e0 into apache:master Jul 10, 2026
45 checks passed
@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @prathmesh12-coder for updating the patch.

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.

2 participants