You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rakesh Radhakrishnan (Jira)" <ji...@apache.org> on 2021/01/26 16:38:01 UTC

[jira] [Updated] (HDDS-4752) TestOzoneFileSystem is not picking the configured 'Parameters'

     [ https://issues.apache.org/jira/browse/HDDS-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rakesh Radhakrishnan updated HDDS-4752:
---------------------------------------
    Labels: test  (was: )

> TestOzoneFileSystem is not picking the configured 'Parameters'
> --------------------------------------------------------------
>
>                 Key: HDDS-4752
>                 URL: https://issues.apache.org/jira/browse/HDDS-4752
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Rakesh Radhakrishnan
>            Assignee: Rakesh Radhakrishnan
>            Priority: Major
>              Labels: test
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org