ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Bessonov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11683) DistributedMetaStoragePersistentTest#testClientReconnect hangs sometimes.
Date Thu, 04 Apr 2019 13:40:00 GMT
Ivan Bessonov created IGNITE-11683:
--------------------------------------

             Summary: DistributedMetaStoragePersistentTest#testClientReconnect hangs sometimes.
                 Key: IGNITE-11683
                 URL: https://issues.apache.org/jira/browse/IGNITE-11683
             Project: Ignite
          Issue Type: Test
            Reporter: Ivan Bessonov
            Assignee: Ivan Bessonov


The problem occurs right after this line:
{code:java}
assertTrue(GridTestUtils.waitForCondition(() -> metastorage(1).getUpdatesCount() == expUpdatesCnt,
15_000));
{code}
Client node might not be fully reconnected yet. Adding following line resolves the problem
in the particular test:
{code:java}
grid(1).cluster().clientReconnectFuture().get();
{code}
I don't consider this a proper fix. Stopping the client that hasn't finished its reconnect
shouldn't result inĀ infinite waiting (or deadlock). Client node should be stopped successfully.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message