Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12323

Test GridCommandHandlerTest. testBaselineAutoAdjustmentAutoRemoveNode is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8
    • None
    • None

    Description

      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:

              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.
      

      Attachments

        Issue Links

          Activity

            People

              NSAmelchev Nikita Amelchev
              NSAmelchev Nikita Amelchev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m