[
https://issues.apache.org/jira/browse/HDDS-9932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-9932:
---------------------------------
Labels: pull-request-available (was: )
> Compose annotation for tests parameterized with ContainerTestVersionInfo
> ------------------------------------------------------------------------
>
> Key: HDDS-9932
> URL: https://issues.apache.org/jira/browse/HDDS-9932
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
>
> {{ContainerTestVersionInfo}} is used in several classes to parameterize test
> methods.
> Example:
> {code}
> @ParameterizedTest
> @MethodSource("data")
> public void testIncorrectTotalsNoData(ContainerTestVersionInfo versionInfo)
> {code}
> The goal of this task is to reduce code duplication by defining a [composite
> annotation|https://junit.org/junit5/docs/current/user-guide/#writing-tests-meta-annotation].
> (Will create follow-up tasks for other similar common parameter types.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]