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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)