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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0, 3.1.1, 3.0.4
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.001.patch
          3 kB
          Siyao Meng
        2. HDFS-13746.002.patch
          4 kB
          Siyao Meng
        3. HDFS-13746.003.patch
          5 kB
          Siyao Meng
        4. HDFS-13746.004.patch
          4 kB
          Siyao Meng
        5. HDFS-13746.005.patch
          4 kB
          Siyao Meng
        6. HDFS-13746.006.patch
          4 kB
          Siyao Meng
        7. HDFS-13746.007.patch
          4 kB
          Siyao Meng

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: