[
https://issues.apache.org/jira/browse/HDDS-11562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-11562:
------------------------------------
Description:
{code:title=https://github.com/apache/ozone/blob/3348d918c4a108c142de671df964e11c531f5aab/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/node/TestSCMNodeManager.java#L855-L861}
// TODO: Refactor this class to use org.junit.jupiter so test
// parameterization can be used.
for (FinalizationCheckpoint checkpoint: FinalizationCheckpoint.values()) {
LOG.info("Testing with SCM finalization checkpoint {}", checkpoint);
testProcessLayoutVersionLowerMlv(checkpoint);
testProcessLayoutVersionReportHigherMlv(checkpoint);
}
{code}
HDDS-6752 already migrated {{TestSCMNodeManager}} to JUnit5, the test case can
be parameterized.
was:Refactor testProcessLayoutVersion method to use org.junit.jupiter so test
parameterization can be used.
> Refactor test method to use org.junit.jupiter so test parameterization can
> be used
> -----------------------------------------------------------------------------------
>
> Key: HDDS-11562
> URL: https://issues.apache.org/jira/browse/HDDS-11562
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: weiming
> Assignee: weiming
> Priority: Minor
> Labels: pull-request-available
>
> {code:title=https://github.com/apache/ozone/blob/3348d918c4a108c142de671df964e11c531f5aab/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/node/TestSCMNodeManager.java#L855-L861}
> // TODO: Refactor this class to use org.junit.jupiter so test
> // parameterization can be used.
> for (FinalizationCheckpoint checkpoint: FinalizationCheckpoint.values()) {
> LOG.info("Testing with SCM finalization checkpoint {}", checkpoint);
> testProcessLayoutVersionLowerMlv(checkpoint);
> testProcessLayoutVersionReportHigherMlv(checkpoint);
> }
> {code}
> HDDS-6752 already migrated {{TestSCMNodeManager}} to JUnit5, the test case
> can be parameterized.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]