Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-11345. Add metrics specific tests for reconciliation tasks. #7732

Open
wants to merge 4 commits into
base: HDDS-10239-container-reconciliation
Choose a base branch
from

Conversation

aswinshakil
Copy link
Member

What changes were proposed in this pull request?

#7140 Added a framework to add metrics for any AbstractReplicationTask. This adds all the necessary metrics required for container reconciliation task(ReconcileContainerTask). This JIRA aims to add tests for these metrics.

What is the link to the Apache JIRA

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

How was this patch tested?

Added unit tests.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks for adding the test @aswinshakil. Can we move this so the tests for reconciliation tasks are in their own test method within TestReplicationSupervisor? We can throw one into the mix in testMultipleReplication since it is already there, but that method is already testing too many things at once and it is hard to follow the individual things being checked.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks for updating this @aswinshakil

@errose28
Copy link
Contributor

We need #7699 in our branch to fix acceptance tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants