You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yanquan Lv (Jira)" <ji...@apache.org> on 2025/04/27 02:58:00 UTC

[jira] [Updated] (FLINK-37349) Add timeout for test case that call waitForSinkSize method to avoid Infinite waiting

     [ https://issues.apache.org/jira/browse/FLINK-37349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yanquan Lv updated FLINK-37349:
-------------------------------
    Fix Version/s: cdc-3.5.0
                       (was: cdc-3.4.0)

> Add timeout for test case that call waitForSinkSize method to avoid Infinite waiting 
> -------------------------------------------------------------------------------------
>
>                 Key: FLINK-37349
>                 URL: https://issues.apache.org/jira/browse/FLINK-37349
>             Project: Flink
>          Issue Type: Improvement
>          Components: Flink CDC
>    Affects Versions: cdc-3.3.0
>            Reporter: Yanquan Lv
>            Priority: Major
>             Fix For: cdc-3.5.0
>
>
> Add timeout for test case that call waitForSinkSize method:
> {code:java}
> protected static void waitForSinkSize(String sinkName, int expectedSize)
>         throws InterruptedException {
>     while (sinkSize(sinkName) < expectedSize) {
>         Thread.sleep(100);
>     }
> } {code}
> In abnormal case, this will lead to infinite waiting until CI time out.



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