[ https://issues.apache.org/jira/browse/FLINK-27535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Lin closed FLINK-27535. ---------------------------- Resolution: Fixed > Optimize the unit test execution time > ------------------------------------- > > Key: FLINK-27535 > URL: https://issues.apache.org/jira/browse/FLINK-27535 > Project: Flink > Issue Type: Improvement > Components: Library / Machine Learning > Reporter: Dong Lin > Assignee: Yunfeng Zhou > Priority: Critical > Labels: pull-request-available > Fix For: ml-2.2.0 > > > Currently `mvn package` takes 10 minutes to complete in Github actions. A lot > of time is spent in running unit tests for algorithms. For example, > LogisticRegressionTest takes 82 seconds and KMeansTest takes 43 seconds in > [1]. > This time appears to be more than expected. And it will considerably reduce > developer velocity if a developer needs to wait for hours to get test results > once we have 100+ algorithms in Flink ML. > We should understand why it takes 82 seconds to run e.g. > LogisticRegressionTest and see if there is a way to optimize the test > execution time. > [1] https://github.com/apache/flink-ml/runs/6319402103?check_suite_focus=true. -- This message was sent by Atlassian Jira (v8.20.10#820010)