You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Gagarkin (Jira)" <ji...@apache.org> on 2023/05/26 13:10:00 UTC

[jira] [Updated] (IGNITE-19576) org.apache.ignite.internal.cluster.management.ItClusterManagerTest#testClusterConfigurationIsRemovedFromClusterStateAfterUpdating is flaky

     [ 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.
// 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
 # 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.
> // 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
>  # 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)