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

Construct NetworkEnvironment simple for tests

    XMLWordPrintableJSON

    Details

      Description

      Currently, five tests would create NetworkEnvironment in different places and the most of parameters are common in constructing it.

      We can provide a simple way for constructing the NetworkEnvironment with less parameters to deduplicate the common codes, which can bring benefits for future new tests.

      We can define a static nested NetworkEnvironmentBuilder inside the NetworkEnvironment or a simple constructor directly as the option.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjwang zhijiang
                Reporter:
                zjwang zhijiang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: