adoroszlai opened a new pull request, #8190:
URL: https://github.com/apache/ozone/pull/8190

   ## What changes were proposed in this pull request?
   
   Currently only _native_ check builds Ozone's native library, because it was 
initially very slow (added 15 minutes to the build time).  Now it is less than 
1 minute:
   
   ```
   [INFO] Apache Ozone HDDS RocksDB Tools .................... SUCCESS [ 45.621 
s]
   ```
   
   This PR enables native library in CI and drops _native_ check.  This 
increases test coverage by letting _repro_ and _acceptance_ checks also to test 
it.
   
   Replace `@Native` tag with JUnit built-in annotation that checks the Maven 
property used to enable the native lib at build.
   
   https://issues.apache.org/jira/browse/HDDS-12734
   
   ## How was this patch tested?
   
   ```
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.552 
s -- in org.apache.hadoop.hdds.utils.TestNativeLibraryLoader
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.891 
s -- in org.apache.hadoop.hdds.utils.db.managed.TestManagedRawSSTFileIterator
   ```
   
   ```
   [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
205.5 s -- in org.apache.hadoop.ozone.om.snapshot.TestOmSnapshotFsoWithNativeLib
   [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
205.4 s -- in 
org.apache.hadoop.ozone.om.snapshot.TestOmSnapshotFsoWithoutNativeLib
   ```
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/14147241123


-- 
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.

To unsubscribe, e-mail: [email protected]

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