[
https://issues.apache.org/jira/browse/IGNITE-9802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643370#comment-16643370
]
Amelchev Nikita commented on IGNITE-9802:
-----------------------------------------
I have fixed the test.
The problem was that PME happens and prevent to closing idle connections. The
test needs close connections to recreate comm client. There was only 1s sleep.
I replace it with **awaitPartitionMapExchange** and **waitForCondition**.
[TC 150 times
runs|https://ci.ignite.apache.org/viewLog.html?buildId=2041458&buildTypeId=IgniteTests24Java8_Spi&tab=testsInfo]
are OK.
> Test TcpCommunicationSpiFaultyClientTest.testNotAcceptedConnection is flaky
> in master
> -------------------------------------------------------------------------------------
>
> Key: IGNITE-9802
> URL: https://issues.apache.org/jira/browse/IGNITE-9802
> Project: Ignite
> Issue Type: Bug
> Reporter: Amelchev Nikita
> Assignee: Amelchev Nikita
> Priority: Major
> Labels: MakeTeamcityGreenAgain
>
> The test is flaky in master. Example of fail: [TC build.
> |https://ci.ignite.apache.org/viewLog.html?buildTypeId=IgniteTests24Java8_Spi&buildId=1976776]
>
> Log details:
> {noformat}
> junit.framework.AssertionFailedError
> at
> org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiFaultyClientTest.testFailClient(TcpCommunicationSpiFaultyClientTest.java:178)
> at
> org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiFaultyClientTest.testNotAcceptedConnection(TcpCommunicationSpiFaultyClientTest.java:130){noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)