Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16189

Remove testing logic from FlinkDistribution

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m