You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2018/10/19 08:39:00 UTC

[jira] [Updated] (FLINK-10606) Construct NetworkEnvironment simple for tests

     [ https://issues.apache.org/jira/browse/FLINK-10606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhijiang updated FLINK-10606:
-----------------------------
    Affects Version/s:     (was: 1.5.6)
                           (was: 1.6.3)
                           (was: 1.5.4)

> Construct NetworkEnvironment simple for tests
> ---------------------------------------------
>
>                 Key: FLINK-10606
>                 URL: https://issues.apache.org/jira/browse/FLINK-10606
>             Project: Flink
>          Issue Type: Test
>          Components: Network, Tests
>    Affects Versions: 1.6.1, 1.7.0
>            Reporter: zhijiang
>            Assignee: zhijiang
>            Priority: Minor
>
> 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.}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)