Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-1966

Wrong expected key ACL in acceptance test

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      Acceptance test fails at ACL checks:

      [ {
        "type" : "USER",
        "name" : "testuser/scm@EXAMPLE.COM",
        "aclScope" : "ACCESS",
        "aclList" : [ "ALL" ]
      }, {
        "type" : "GROUP",
        "name" : "root",
        "aclScope" : "ACCESS",
        "aclList" : [ "ALL" ]
      }, {
        "type" : "GROUP",
        "name" : "superuser1",
        "aclScope" : "ACCESS",
        "aclList" : [ "ALL" ]
      }, {
        "type" : "USER",
        "name" : "superuser1",
        "aclScope" : "ACCESS",
        "aclList" : [ "READ", "WRITE", "READ_ACL", "WRITE_ACL" ]
      } ]' does not match '"type" : "GROUP",
      .*"name" : "superuser1*",
      .*"aclScope" : "ACCESS",
      .*"aclList" : . "READ", "WRITE", "READ_ACL", "WRITE_ACL"'
      

      The test sets user ACL, but checks group ACL. I think this passed previously due to a bug that was fixed by HDDS-1917.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adoroszlai Attila Doroszlai
                Reporter:
                adoroszlai Attila Doroszlai
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 50m
                  50m