[ https://issues.apache.org/jira/browse/FLINK-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pattarawat Chormai closed FLINK-4548. ------------------------------------- Resolution: Fixed > Refactor ContinuousFileMonitoringTest to use OneShotLatch > --------------------------------------------------------- > > Key: FLINK-4548 > URL: https://issues.apache.org/jira/browse/FLINK-4548 > Project: Flink > Issue Type: Improvement > Components: DataStream API > Reporter: Aljoscha Krettek > Assignee: Pattarawat Chormai > Priority: Minor > 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.15#6346)