forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-10530][tests] Harden ProcessFailureCancelingITCase and Abstrac…
…tTaskManagerProcessFailureRecovery The problem is that the Dispatcher actor is being started before it gains leadership. When using the standalone high availability services, then we don't wait until the Dispatcher has confirmed its leader session id. We only wait until the actor has become available. Due to that it can happen that we try to send a RPC message to the Dispatcher before it has actually set its leader session id. This commit changes the above mentioned tests to use HA mode based on ZooKeeper. With that, we will wait until the leader session id has been confirmed. This closes apache#6827.
- Loading branch information
1 parent
9770e78
commit bbee77a
Showing
4 changed files
with
119 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters