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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Aljoscha Krettek created FLINK-4548:
---------------------------------------

             Summary: Refactor ContinuousFileMonitoringTest to use OneShotLatch
                 Key: FLINK-4548
                 URL: https://issues.apache.org/jira/browse/FLINK-4548
             Project: Flink
          Issue Type: Bug
            Reporter: Aljoscha Krettek


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)