You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "TisonKun (JIRA)" <ji...@apache.org> on 2018/11/17 12:26:00 UTC

[jira] [Created] (FLINK-10914) Prefer notifying status changed to waiting and checking in ExecutionGraph tests

TisonKun created FLINK-10914:
--------------------------------

             Summary: Prefer notifying status changed to waiting and checking in ExecutionGraph tests
                 Key: FLINK-10914
                 URL: https://issues.apache.org/jira/browse/FLINK-10914
             Project: Flink
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 1.8.0
            Reporter: TisonKun
            Assignee: TisonKun
             Fix For: 1.8.0


Currently there are several tests of {{ExecutionGraph}} based on {{ExecutionGraphTestUtils#waitUntilJobStatus}} and {{ExecutionGraphTestUtils#waitUntilExecution(Vertex)State}}. I notice that we have {{JobStatusListener}}s and {{ExecutionStatusListener}}s registered on a {{ExecutionGraph}}. It is possible to replace the waiting version with a notifying version, which is with less cpu workload and more reliable(the waiting version might miss some very quick status/state changes).

What do you think [~till.rohrmann] [~Zentol]?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)