Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22424

Interactions in RSGroup test classes will cause TestRSGroupsAdmin2.testMoveServersAndTables and TestRSGroupsBalance.testGroupBalance flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 3.0.0-alpha-1, 2.2.0, 2.3.0
    • rsgroup
    • None

    Description

      When running rsgroup test class folder to run all the UTs together, TestRSGroupsAdmin2.testMoveServersAndTables and TestRSGroupsBalance.testGroupBalance will flaky.
      Because TestRSGroupsAdmin1, TestRSGroupsAdmin2 and TestRSGroupsBalance are all extends TestRSGroupsBase, which has a static variable INIT, controlling the initialize of 'master 'group and the number of rs in 'default' rsgroup.

      Output errors of TestRSGroupsBalance.testGroupBalance is shown in HBASE-22420, and TestRSGroupsAdmin2.testMoveServersAndTables will encounter NPE in ```rsGroupAdmin.getRSGroupInfo("master").containsServer(server.getAddress())``` because `master` group has not been added.

      Attachments

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: