You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Amelchev Nikita (Jira)" <ji...@apache.org> on 2019/11/22 13:10:00 UTC

[jira] [Created] (IGNITE-12388) The testReconnectServersRestart_3 test is flacky

Amelchev Nikita created IGNITE-12388:
----------------------------------------

             Summary: The testReconnectServersRestart_3 test is flacky
                 Key: IGNITE-12388
                 URL: https://issues.apache.org/jira/browse/IGNITE-12388
             Project: Ignite
          Issue Type: Test
            Reporter: Amelchev Nikita
            Assignee: Amelchev Nikita
             Fix For: 2.8


The testReconnectServersRestart_3 test is flacky. [TC history.|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=534893108987486091&tab=testDetails]

Sometimes it fails by timeout. The reason is the incorrect client mode condition during nodes starts:
{noformat}
helper.clientModeThreadLocal(threadIdx == srvIdx || ThreadLocalRandom.current().nextBoolean())
{noformat}
There is no server node to connect when all started nodes are clients:
{noformat}
[2019-11-22 15:42:24,998][WARN ][start-node-5][ZookeeperDiscoveryImpl] Waiting for local join event [nodeId=74a33ea3-6d7c-4ab4-b86c-3d9305c00004, name=internal.ZookeeperDiscoveryClientReconnectTest4]
[2019-11-22 15:42:25,010][WARN ][start-node-1][ZookeeperDiscoveryImpl] Waiting for local join event [nodeId=b113bb09-5d6a-48b8-a656-d22cb9200000, name=internal.ZookeeperDiscoveryClientReconnectTest0]
[2019-11-22 15:42:25,015][WARN ][start-node-4][ZookeeperDiscoveryImpl] Waiting for local join event [nodeId=121ca03d-31de-4de4-a81c-20bd13700003, name=internal.ZookeeperDiscoveryClientReconnectTest3]
[2019-11-22 15:42:25,017][WARN ][start-node-2][ZookeeperDiscoveryImpl] Waiting for local join event [nodeId=4a6b5c7f-fc06-4251-b78f-c49277f00001, name=internal.ZookeeperDiscoveryClientReconnectTest1]
[2019-11-22 15:42:25,020][WARN ][start-node-3][ZookeeperDiscoveryImpl] Waiting for local join event [nodeId=b0468b08-7d57-4b29-b2fb-6d1425900002, name=internal.ZookeeperDiscoveryClientReconnectTest2]
{noformat}
Then the test fails by timeout (5min).





--
This message was sent by Atlassian Jira
(v8.3.4#803005)