[
https://issues.apache.org/jira/browse/HDDS-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakesh Radhakrishnan updated HDDS-4752:
---------------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> TestOzoneFileSystem is not picking the configured 'Parameters'
> --------------------------------------------------------------
>
> Key: HDDS-4752
> URL: https://issues.apache.org/jira/browse/HDDS-4752
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Rakesh Radhakrishnan
> Assignee: Rakesh Radhakrishnan
> Priority: Major
> Labels: pull-request-available, test
> Fix For: 1.1.0
>
>
> In my local environment, I observed that
> [TestOzoneFileSystem#Init|https://github.com/apache/ozone/blob/master/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystem.java#L119]
> function is called once during the lifecycle of the test. In effect,
> TestOzoneFileSystem all 4 parameterized iterations are running always with
> {{enabledFileSystemPaths=false}} and {{omRatisEnabled=false}}, which is
> basically due to the wrong init function using {{@BeforeClass}}.
> After searching I found discussions to add @AfterParam and @BeforeParam
> [Discussion_Thread|https://github.com/junit-team/junit4/issues/45] , which is
> again available only in 4.13 junit version
> [Junit_PR_With_NewParams|https://github.com/junit-team/junit4/pull/1435] but
> Ozone is using 4.11 junit version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]