You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/09/01 08:09:20 UTC

[jira] [Updated] (FLINK-4548) Refactor ContinuousFileMonitoringTest to use OneShotLatch

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

Aljoscha Krettek updated FLINK-4548:
------------------------------------
    Issue Type: Improvement  (was: Bug)

> Refactor ContinuousFileMonitoringTest to use OneShotLatch
> ---------------------------------------------------------
>
>                 Key: FLINK-4548
>                 URL: https://issues.apache.org/jira/browse/FLINK-4548
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Aljoscha Krettek
>              Labels: easyfix, newbie, starter
>
> Right now, the test has custom code that uses {{synchronized}}, {{notify()}} and {{wait()}}. This could be simplified by using {{OneShotLatch}} which does that under the hood and makes the intended behavior more obvious in the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)