You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2020/03/10 08:58:00 UTC

[jira] [Updated] (FLINK-14041) Refactor LeaderRetrievalServiceHostnameResolutionTest and remove StandaloneUtils

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

Zili Chen updated FLINK-14041:
------------------------------
    Description: 
{{StandaloneUtils}} is a poor utility that only used in {{LeaderRetrievalServiceHostnameResolutionTest}.

However, {{LeaderRetrievalServiceHostnameResolutionTest}} tests only {{HighAvailabilityServicesUtils.AddressResolution}} which doesn't have to use {{StandaloneUtils}}.

Propose to refactor {{LeaderRetrievalServiceHostnameResolutionTest}} and remove {{StandaloneUtils}}.

cc [~chesnay]]

  was:
{{StandaloneUtils}} is a poor utility that can be just replace with {{HighAvailabilityServicesUtils}} on its only usages.

Propose to refactor {{LeaderRetrievalServiceHostnameResolutionTest}} and remove {{StandaloneUtils}}.

cc [~Zentol]


> Refactor LeaderRetrievalServiceHostnameResolutionTest and remove StandaloneUtils
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-14041
>                 URL: https://issues.apache.org/jira/browse/FLINK-14041
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.10.0
>            Reporter: Zili Chen
>            Assignee: Zili Chen
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{StandaloneUtils}} is a poor utility that only used in {{LeaderRetrievalServiceHostnameResolutionTest}.
> However, {{LeaderRetrievalServiceHostnameResolutionTest}} tests only {{HighAvailabilityServicesUtils.AddressResolution}} which doesn't have to use {{StandaloneUtils}}.
> Propose to refactor {{LeaderRetrievalServiceHostnameResolutionTest}} and remove {{StandaloneUtils}}.
> cc [~chesnay]]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)