You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/09/20 13:26:00 UTC
[jira] [Resolved] (HDDS-5758) Speed up TestKeyInputStream and
TestChunkInputStream by combining some tests
[ https://issues.apache.org/jira/browse/HDDS-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen O'Donnell resolved HDDS-5758.
-------------------------------------
Fix Version/s: 1.2.0
Resolution: Fixed
> Speed up TestKeyInputStream and TestChunkInputStream by combining some tests
> ----------------------------------------------------------------------------
>
> Key: HDDS-5758
> URL: https://issues.apache.org/jira/browse/HDDS-5758
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Affects Versions: 1.2.0
> Reporter: Stephen O'Donnell
> Assignee: Stephen O'Donnell
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> TestKeyInputStream takes over 900 seconds to run:
> [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 964.773 s - in org.apache.hadoop.ozone.client.rpc.read.TestKeyInputStream
> [INFO] Running org.apache.hadoop.ozone.client.rpc.Test2WayCommitInRatis
> TestChunkInputStream also takes about:
> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 292.226 s - in org.apache.hadoop.ozone.client.rpc.read.TestChunkInputStream
> [INFO] Running org.apache.hadoop.ozone.client.rpc.read.TestKeyInputStream
> Some of the tests stop and start nodes in the mini-cluster, so its hard to use the same cluster for all tests, but we can combine the "non-destructive" tests into a single test method in each of these class easily saving significant time.
> Also in TestInputStreamBase there is a single test, which is executed by both the extending classes, needless repeating it. I have moved in up into one of the extending classes instead.
--
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