Rakesh Radhakrishnan created HDDS-4752:
------------------------------------------

             Summary: 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


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]

Reply via email to