Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1966

Wrong expected key ACL in acceptance test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.1
    • 0.5.0
    • test

    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

              adoroszlai Attila Doroszlai
              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