Skip to content

Commit

Permalink
[FLINK-30629][test] Set CLIENT_ALIVENESS_CHECK_DURATION to clientHear…
Browse files Browse the repository at this point in the history
…tbeatInterval for ClientHeartbeatTest#testJobCancelledIfClientHeartbeatTimeout.

This closes apache#21916
  • Loading branch information
reswqa committed Feb 15, 2023
1 parent 00e1ef3 commit bf0ad52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private Configuration createConfiguration(boolean shutdownOnAttachedExit) {
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);
Expand Down

0 comments on commit bf0ad52

Please sign in to comment.