[ 
https://issues.apache.org/jira/browse/IGNITE-19576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Gagarkin updated IGNITE-19576:
-----------------------------------
    Description: 
The root cause is the test tries to find the cluster leader twice.
{code:java}
// Wait for a new leader to be elected.
Awaitility.await().until(() -> findLeaderNode(cluster).isPresent());
// Find the new CMG leader.
MockNode newLeaderNode = findLeaderNode(cluster).orElseThrow(); {code}
 # Awaits for appearing of the new leader
 # Gets the leader

>From time to time the test can't find the leader the second time. 

  was:
The root cause is the test tries to find the cluster leader twice.
{code:java}
// Wait for a new leader to be elected.
Awaitility.await().until(() -> findLeaderNode(cluster).isPresent());
// Find the new CMG leader.
MockNode newLeaderNode = findLeaderNode(cluster).orElseThrow(); # Awaits for 
appearing of the new leader

  {code}
 # Gets the leader

>From time to time the test can't find the leader the second time. 


> org.apache.ignite.internal.cluster.management.ItClusterManagerTest#testClusterConfigurationIsRemovedFromClusterStateAfterUpdating
>  is flaky
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-19576
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19576
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Gagarkin
>            Assignee: Ivan Gagarkin
>            Priority: Critical
>              Labels: ignite-3
>
> The root cause is the test tries to find the cluster leader twice.
> {code:java}
> // Wait for a new leader to be elected.
> Awaitility.await().until(() -> findLeaderNode(cluster).isPresent());
> // Find the new CMG leader.
> MockNode newLeaderNode = findLeaderNode(cluster).orElseThrow(); {code}
>  # Awaits for appearing of the new leader
>  # Gets the leader
> From time to time the test can't find the leader the second time. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to