[
https://issues.apache.org/jira/browse/HDFS-17771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019725#comment-18019725
]
ASF GitHub Bot commented on HDFS-17771:
---------------------------------------
github-actions[bot] closed pull request #7610: HDFS-17771. Refactor some unit
tests in rbf to improve the speed of pipeline building.
URL: https://github.com/apache/hadoop/pull/7610
> Refactor some unit tests in rbf to improve the speed of pipeline building
> -------------------------------------------------------------------------
>
> Key: HDFS-17771
> URL: https://issues.apache.org/jira/browse/HDFS-17771
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2025-04-14-11-20-39-389.png,
> image-2025-04-14-11-37-14-518.png
>
>
> Currently, some unit tests in rbf package use @beforeEach to set up the whole
> cluster.
> It's so inefficient. We should refactor those unit test and pipeline building
> will benifit from doing this.
> The below table compares the total time before and after refactoring:
> ||Before Refatoring||After Refactoring||
> |3min 51sec|23 sec|
> !image-2025-04-14-11-20-39-389.png!
> !image-2025-04-14-11-37-14-518.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]