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

Roman Puchkovskiy updated IGNITE-21332:
---------------------------------------
    Description: 
ItScaleCubeNetworkMessagingTest#nodeCannotCommunicateAfterLeavingPhysicalTopology()
 is flaky, it fails with

 
java.lang.AssertionError: Expected: a future that completes with an exception 
that is an instance of 
org.apache.ignite.internal.network.handshake.HandshakeException but: was 
completed exceptionally with <java.nio.channels.ClosedChannelException>
java.lang.AssertionError:
Expected: a future that completes with an exception that is an instance of 
org.apache.ignite.internal.network.handshake.HandshakeException
but: was completed exceptionally with <java.nio.channels.ClosedChannelException>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
  at 
org.apache.ignite.network.scalecube.ItScaleCubeNetworkMessagingTest.nodeCannotCommunicateAfterLeavingPhysicalTopology(ItScaleCubeNetworkMessagingTest.java:550)
 
The problem seems to be that there is a race between closing channels when a 
node is removed from the physical topology and trying to send a message in the 
test. We should expect not just HandshakeException, but also 
ClosedChannelException.

> nodeCannotCommunicateAfterLeavingPhysicalTopology is flaky
> ----------------------------------------------------------
>
>                 Key: IGNITE-21332
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21332
>             Project: Ignite
>          Issue Type: Bug
>          Components: networking
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> ItScaleCubeNetworkMessagingTest#nodeCannotCommunicateAfterLeavingPhysicalTopology()
>  is flaky, it fails with
>  
> java.lang.AssertionError: Expected: a future that completes with an exception 
> that is an instance of 
> org.apache.ignite.internal.network.handshake.HandshakeException but: was 
> completed exceptionally with <java.nio.channels.ClosedChannelException>
> java.lang.AssertionError:
> Expected: a future that completes with an exception that is an instance of 
> org.apache.ignite.internal.network.handshake.HandshakeException
> but: was completed exceptionally with 
> <java.nio.channels.ClosedChannelException>
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>   at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
>   at 
> org.apache.ignite.network.scalecube.ItScaleCubeNetworkMessagingTest.nodeCannotCommunicateAfterLeavingPhysicalTopology(ItScaleCubeNetworkMessagingTest.java:550)
>  
> The problem seems to be that there is a race between closing channels when a 
> node is removed from the physical topology and trying to send a message in 
> the test. We should expect not just HandshakeException, but also 
> ClosedChannelException.



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

Reply via email to