You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2023/03/11 19:12:00 UTC

[jira] [Created] (FLINK-31405) Refactor tests to git rid of timeout for CompletableFuture assertions.

Weijie Guo created FLINK-31405:
----------------------------------

             Summary: Refactor tests to git rid of timeout for CompletableFuture assertions.
                 Key: FLINK-31405
                 URL: https://issues.apache.org/jira/browse/FLINK-31405
             Project: Flink
          Issue Type: Technical Debt
          Components: Tests
    Affects Versions: 1.18.0
            Reporter: Weijie Guo
            Assignee: Weijie Guo


In general, we want to avoid relying on local timeouts in the Flink test suite to get additional context (thread dump) in case something gets stuck(see [Code Style and Quality Guide|https://flink.apache.org/how-to-contribute/code-style-and-quality-common/#avoid-timeouts-in-junit-tests]).
Some of timeout in tests are introduced by assertions for {{CompleteFuture}}. After FLINK-31385, we can refactor these tests to git rid of timeout for {{CompletableFuture}} assertions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)