[
https://issues.apache.org/jira/browse/FLINK-15838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann resolved FLINK-15838.
-----------------------------------
Fix Version/s: 1.11.0
1.10.1
Resolution: Fixed
Fixed via
master: b098ce505176720ba37da8f6d6c23096b1d3a260
1.10.1: d710a8cc995737f1fcab2912312834a3b799c288
> Dangling CountDownLatch.await(timeout)
> --------------------------------------
>
> Key: FLINK-15838
> URL: https://issues.apache.org/jira/browse/FLINK-15838
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Reporter: Roman Leventov
> Assignee: Ayush Saxena
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.1, 1.11.0
>
> Attachments: image-2020-02-06-22-42-51-866.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There are 16 occurrences in the codebase (all in test code) when the result
> of CountDownLatch.await(timeout, TimeUnit) is not checked. It's like not
> checking the result of File.delete(). The common fix is to wrap CDL.await()
> call into assertTrue().
> All 16 places could be found using the following structural search in
> IntelliJ:
> $x$.await($y$, $z$);
> With "CountDownLatch" type constraint on the $x$ variable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)