Roman Puchkovskiy created IGNITE-20489:
------------------------------------------
Summary: Tests that transfer leadership must make sure it doesn't
change spontaneously
Key: IGNITE-20489
URL: https://issues.apache.org/jira/browse/IGNITE-20489
Project: Ignite
Issue Type: Bug
Reporter: Roman Puchkovskiy
Fix For: 3.0.0-beta2
At least ItSchemaSyncAndReplicationTest and ItTableRaftSnapshotsTest transfer
leadership to chosen nodes in a cluster. If the leadership gets transferred
from the node chosen by the test (this might happen due to a GC pause, for
example), the test might fail.
We could forbid a node to request votes for becoming a leader by blocking
RequestVoteRequests either on the network level (substituting the response with
a fake response with granted=false) or on the server (by substituting
RequestVoteRequestProcessor).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)