Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13746

Still occasional "Should be different group" failure in TestRefreshUserMappings#testGroupMappingRefresh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.2.0, 3.1.1, 3.0.4
    • None
    • None
    • Reviewed

    Description

      In https://issues.apache.org/jira/browse/HDFS-13723, increasing the amount of time in sleep() helps but the problem still appears, which is annoying.

       

      Solution:

      Use a loop to allow the test case to fail maxTrials times before declaring failure. Wait 50 ms between each retry.

       

      Attachments

        1. HDFS-13746.007.patch
          4 kB
          Siyao Meng
        2. HDFS-13746.006.patch
          4 kB
          Siyao Meng
        3. HDFS-13746.005.patch
          4 kB
          Siyao Meng
        4. HDFS-13746.004.patch
          4 kB
          Siyao Meng
        5. HDFS-13746.003.patch
          5 kB
          Siyao Meng
        6. HDFS-13746.002.patch
          4 kB
          Siyao Meng
        7. HDFS-13746.001.patch
          3 kB
          Siyao Meng

        Activity

          People

            smeng Siyao Meng
            smeng Siyao Meng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: