[ 
https://issues.apache.org/jira/browse/HDDS-16933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-16933:
------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Speed up TestKeyValueContainer, TestEventBufferOverflow, TestBlockInputStream 
> and TestEventQueue
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-16933
>                 URL: https://issues.apache.org/jira/browse/HDDS-16933
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: test
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> These unit tests spend most of their time on waits or test data that no 
> assertion depends on:
> * {{TestKeyValueContainer#testAutoCompactionSmallSstFile}} creates 400 
> containers with 500 keys each and then sleeps 7s. Since HDDS-12233 container 
> import no longer generates SST files, so the test only asserts that none 
> exist.
> * {{TestEventBufferOverflow}} sleeps 2.1s between retry attempts. 
> {{TestReconTaskControllerImpl}} already advances a {{MockClock}} past the 
> same retry delay instead.
> * {{TestBlockInputStream}} waits the default 1s 
> {{ozone.client.read.retry.interval}} before each retry.
> * {{TestEventQueue}} uses a handler that sleeps 2s for each of 11 events, 
> which are processed by a single thread.
> Together they take about 140s in CI and can run in about 55s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to