adoroszlai opened a new pull request #1071:
URL: https://github.com/apache/hadoop-ozone/pull/1071


   ## What changes were proposed in this pull request?
   
   Ozone FS has some tests, but [0% 
coverage](https://codecov.io/gh/apache/hadoop-ozone/tree/96f07d5c27ba8f2ab9d77df25e10d4cb94489e5f/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone).
  This change fixes the problem.
   
   https://issues.apache.org/jira/browse/HDDS-3795
   
   ## How was this patch tested?
   
   Ran `TestOzoneFSInputStream`, verified that non-zero coverage is reported 
for `OzoneFSInputStream` (`coverage.sh` is taken from HDDS-3796):
   
   ```
   mvn -Dskip.npx -Dskip.installnpx -DskipShade clean package
   hadoop-ozone/dev-support/checks/unit.sh -DfailIfNoTests=false 
-Dtest=TestOzoneFSInputStream
   hadoop-ozone/dev-support/checks/coverage.sh
   open target/coverage/all/org.apache.hadoop.fs.ozone/OzoneFSInputStream.html
   ```
   
   Now the package has [70% 
coverage](https://codecov.io/gh/adoroszlai/hadoop-ozone/tree/HDDS-3795/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone).
   
   https://github.com/adoroszlai/hadoop-ozone/runs/767653969


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to