[ https://issues.apache.org/jira/browse/FLINK-16189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-16189. ------------------------------------ Resolution: Fixed master: 1924f82512e17a43f874b8c86492d9ce6c8d7dd1 > Remove testing logic from FlinkDistribution > ------------------------------------------- > > Key: FLINK-16189 > URL: https://issues.apache.org/jira/browse/FLINK-16189 > Project: Flink > Issue Type: Improvement > Components: Test Infrastructure > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Priority: Major > Labels: pull-request-available > Fix For: 1.11.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently, the {{FlinkDistribution}} is responsible for locating and copying > the distribution for usage in tests, and contains hooks for backing up log > files. > This makes the class a bit inflexible to use, as for example a > {{FlinkResource}} could not create 2 distributions in separate places. > I suggest to move these responsibilities into the {{FlinkResource}} > implementations, and "demote" the distribution to a simple wrapper, only > providing programmatic access for mutating/interacting with the distribution. -- This message was sent by Atlassian Jira (v8.3.4#803005)