[ https://issues.apache.org/jira/browse/HDFS-17771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
farmmamba updated HDFS-17771: ----------------------------- Description: 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! was: 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. !image-2025-04-14-11-20-39-389.png! > 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 > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org