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

[jira] [Created] (IGNITE-12323) Test GridCommandHandlerTest. testBaselineAutoAdjustmentAutoRemoveNode is flaky

Amelchev Nikita created IGNITE-12323:
----------------------------------------

             Summary: Test GridCommandHandlerTest. testBaselineAutoAdjustmentAutoRemoveNode is flaky
                 Key: IGNITE-12323
                 URL: https://issues.apache.org/jira/browse/IGNITE-12323
             Project: Ignite
          Issue Type: Test
            Reporter: Amelchev Nikita
            Assignee: Amelchev Nikita


Test {{GridCommandHandlerTest. testBaselineAutoAdjustmentAutoRemoveNode}} is flaky.

The reason is that node stopping may be more than the auto adjust timeout. This cause assertion error on topology size check:
{code:java}
        assertEquals(EXIT_CODE_OK, execute("--baseline", "auto_adjust", "enable", "timeout", "2000"));
        assertEquals(3, ignite.cluster().currentBaselineTopology().size());
        stopGrid(2); // May be more than 2 seconds
        assertEquals(3, ignite.cluster().currentBaselineTopology().size()); // Fails.
{code}




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