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

Correct the assertion for namespace permissions in tearDown method of TestAccessController

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0, 2.0.0
    • security, test
    • None
    • Reviewed

    Description

      In TestAcessController#tearDown we should use TEST_TABLE.getNamespaceAsString() instead of TEST_TABLE.getNameAsString() as the assertion is for namespace.

      assertEquals(0, AccessControlLists.getNamespacePermissions(conf, TEST_TABLE.getTableName().getNamespaceAsString()).size());
      

      Some credit goes to srikanth235 to indirectly point this out here

      Attachments

        1. HBASE-13246.patch
          3 kB
          Ashish Singhi
        2. HBASE-13246-branch-1.patch
          4 kB
          Ashish Singhi

        Activity

          People

            ashish singhi Ashish Singhi
            ashish singhi Ashish Singhi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: