[ 
https://issues.apache.org/jira/browse/HDDS-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786906#comment-17786906
 ] 

Tsz-wo Sze commented on HDDS-9708:
----------------------------------

This test refactoring is to reduce the size of the change of HDDS-9697.

> Refactor unit tests to reuse DispatcherContext
> ----------------------------------------------
>
>                 Key: HDDS-9708
>                 URL: https://issues.apache.org/jira/browse/HDDS-9708
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> DispatcherContext objects can be reused/eliminated in unit tests:
> - use null for empty context;
> - create WRITE_STAGE and COMMIT_STAGE in a test util and then reuse them in 
> other tests.



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