adoroszlai opened a new pull request, #11117: URL: https://github.com/apache/ozone/pull/11117
## What changes were proposed in this pull request? - Make `TestLocalChunkInputStream` extend `InpuStreamTests` instead of `TestChunkInputStream` - Parameterize `TestChunkInputStream` to also test with short-circuit read enabled - Keep only `testFallbackToGrpc` in `TestLocalChunkInputStream` - Remove unnecessary cluster creation from `TestStreamBlockInputStream` https://issues.apache.org/jira/browse/HDDS-16100 ## How was this patch tested? Without native lib: ``` Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.037 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.91 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.15 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.82 s -- in org.apache.hadoop.ozone.client.rpc.read.TestKeyInputStream Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s -- in org.apache.hadoop.ozone.client.rpc.read.TestLocalChunkInputStream Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.97 s -- in org.apache.hadoop.ozone.client.rpc.read.TestStreamBlockInputStream ``` With native lib: ``` Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.79 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.90 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.68 s -- in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.33 s -- in org.apache.hadoop.ozone.client.rpc.read.TestKeyInputStream Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.89 s -- in org.apache.hadoop.ozone.client.rpc.read.TestLocalChunkInputStream Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.17 s -- in org.apache.hadoop.ozone.client.rpc.read.TestStreamBlockInputStream ``` https://github.com/adoroszlai/ozone/actions/runs/32855529592 -- 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]
