[ https://issues.apache.org/jira/browse/BEAM-5709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855163#comment-16855163 ]
Daniel Oliveira commented on BEAM-5709: --------------------------------------- I did another fix to this and it seems to be working so far (I haven't seen any flakes yet). I'll close this bug in a few days if no one reports any flakes. > Tests in BeamFnControlServiceTest are flaky. > -------------------------------------------- > > Key: BEAM-5709 > URL: https://issues.apache.org/jira/browse/BEAM-5709 > Project: Beam > Issue Type: Bug > Components: runner-dataflow > Reporter: Daniel Oliveira > Assignee: Daniel Oliveira > Priority: Critical > Fix For: Not applicable > > Time Spent: 4h 20m > Remaining Estimate: 0h > > https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/fn/BeamFnControlServiceTest.java > Tests for BeamFnControlService are currently flaky. The test attempts to > verify that onCompleted was called on the mock streams, but that function > gets called on a separate thread, so occasionally the function will not have > been called yet, despite the server being shut down. -- This message was sent by Atlassian JIRA (v7.6.3#76005)