You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gu...@apache.org on 2023/02/15 03:25:25 UTC

[flink] branch master updated: [FLINK-30629][test] Set CLIENT_ALIVENESS_CHECK_DURATION to clientHeartbeatInterval for ClientHeartbeatTest#testJobCancelledIfClientHeartbeatTimeout.

This is an automated email from the ASF dual-hosted git repository.

guoweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new bf0ad52cbcb [FLINK-30629][test] Set CLIENT_ALIVENESS_CHECK_DURATION to clientHeartbeatInterval for ClientHeartbeatTest#testJobCancelledIfClientHeartbeatTimeout.
bf0ad52cbcb is described below

commit bf0ad52cbcb052961c54c94c7013f5ac0110ef8a
Author: Weijie Guo <re...@163.com>
AuthorDate: Mon Feb 13 17:47:08 2023 +0800

    [FLINK-30629][test] Set CLIENT_ALIVENESS_CHECK_DURATION to clientHeartbeatInterval for ClientHeartbeatTest#testJobCancelledIfClientHeartbeatTimeout.
    
    This closes #21916
---
 .../src/test/java/org/apache/flink/client/ClientHeartbeatTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-clients/src/test/java/org/apache/flink/client/ClientHeartbeatTest.java b/flink-clients/src/test/java/org/apache/flink/client/ClientHeartbeatTest.java
index e37f1dd4056..1114ecf149c 100644
--- a/flink-clients/src/test/java/org/apache/flink/client/ClientHeartbeatTest.java
+++ b/flink-clients/src/test/java/org/apache/flink/client/ClientHeartbeatTest.java
@@ -94,7 +94,7 @@ public class ClientHeartbeatTest {
         Configuration configuration = new Configuration();
         configuration.set(
                 Dispatcher.CLIENT_ALIVENESS_CHECK_DURATION,
-                Duration.ofMillis(clientHeartbeatTimeout));
+                Duration.ofMillis(clientHeartbeatInterval));
         if (shutdownOnAttachedExit) {
             configuration.setBoolean(DeploymentOptions.ATTACHED, true);
             configuration.setBoolean(DeploymentOptions.SHUTDOWN_IF_ATTACHED, true);