[
https://issues.apache.org/jira/browse/FLINK-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann resolved FLINK-12502.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Fixed via
484915bce2e88bb108e34921a0efb6d89fc030e9
8be60e6f2a06d3783c744749bb76aac14496e3aa
> Harden JobMasterTest#testRequestNextInputSplitWithDataSourceFailover
> --------------------------------------------------------------------
>
> Key: FLINK-12502
> URL: https://issues.apache.org/jira/browse/FLINK-12502
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination, Tests
> Affects Versions: 1.9.0
> Reporter: Till Rohrmann
> Assignee: leesf
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The {{JobMasterTest#testRequestNextInputSplitWithDataSourceFailover}} relies
> on how many files you have in your working directory. This assumption is
> quite brittle. Instead we should explicitly instantiate an
> {{InputSplitAssigner}} with a defined number of input splits.
> Moreover, we should make the assertions more explicit: Input split
> comparisons should not rely solely on the length of the input split data.
> Maybe it is also not necessary to capture the full
> {{TaskDeploymentDescriptor}} because we could already know the producer's and
> consumer's {{JobVertexID}} when we create the {{JobGraph}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)