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

Alexander Lapin reassigned IGNITE-23700:
----------------------------------------

    Assignee: Alexander Lapin

> ActiveActorTest.testChangeLeaderWhenActualLeft is flaky with NPE
> ----------------------------------------------------------------
>
>                 Key: IGNITE-23700
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23700
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ActiveActorTest.testChangeLeaderWhenActualLeft may fail with NPE
> {{}}
> {code:java}
> {code}
> {{java.lang.NullPointerException at 
> org.apache.ignite.internal.raft.client.AbstractTopologyAwareGroupServiceTest.testChangeLeaderWhenActualLeft(AbstractTopologyAwareGroupServiceTest.java:319)}}
>  
>  
> Seems that the issue is in missing leaderRefNoInitialNotify.get() != null in 
> waitForCondition in testChangeLeaderWhenActualLeft despite the fact that 
> there's such check in testChangeLeaderForce
> {code:java}
> assertTrue(waitForCondition(
>         () -> leaderRefNoInitialNotify.get() != null && 
> !leader.equals(leaderRefNoInitialNotify.get()),
>         WAIT_TIMEOUT_MILLIS)
> ); {code}
> {{}}



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

Reply via email to