[
https://issues.apache.org/jira/browse/IGNITE-15036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-15036:
---------------------------------------
Description:
[https://ci.ignite.apache.org/viewLog.html?buildId=6066429&buildTypeId=ignite3_Test_IntegrationTests_IntegrationTests]
https://ci.ignite.apache.org/viewLog.html?buildId=6070466&buildTypeId=ignite3_Test_RunAllTests
This test was written incorrectly, because it waits that a node which was
elected as a leader has to have the longest log, if it has less priority than
another.
But it is a truth only a moment when the node was elected as a leader, and any
moment after that, the other node may catch up the leader.
Need to wait when all nodes will have same log size, that makes a leader
election predictable (it will depend on priority).
was:
[https://ci.ignite.apache.org/viewLog.html?buildId=6066429&buildTypeId=ignite3_Test_IntegrationTests_IntegrationTests]
https://ci.ignite.apache.org/viewLog.html?buildId=6070466&buildTypeId=ignite3_Test_RunAllTests
> ITNodeTest.testLeaderStopAndReElectWithPriority is flaky
> --------------------------------------------------------
>
> Key: IGNITE-15036
> URL: https://issues.apache.org/jira/browse/IGNITE-15036
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha2
> Reporter: Alexey Scherbakov
> Assignee: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-alpha3
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [https://ci.ignite.apache.org/viewLog.html?buildId=6066429&buildTypeId=ignite3_Test_IntegrationTests_IntegrationTests]
> https://ci.ignite.apache.org/viewLog.html?buildId=6070466&buildTypeId=ignite3_Test_RunAllTests
> This test was written incorrectly, because it waits that a node which was
> elected as a leader has to have the longest log, if it has less priority than
> another.
> But it is a truth only a moment when the node was elected as a leader, and
> any moment after that, the other node may catch up the leader.
> Need to wait when all nodes will have same log size, that makes a leader
> election predictable (it will depend on priority).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)