Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2620

Add comments to testReadOnlySnapshotDir and testReadOnlyTxnLogDir indicating that the tests will fail when run as root

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.9, 3.5.2
    • 3.4.10, 3.5.3, 3.6.0
    • tests
    • None

    Description

      testReadOnlySnapshotDir and testReadOnlyTxnLogDir test the impact of changes to file system permissions on ZooKeeper server startup.

      After debugging test failures hanm was experiencing, we noticed that when the unit tests are run as root, these tests fail. We should have a comment to clarify this.

      Attachments

        1. ZOOKEEPER-2620.patch
          1 kB
          Abraham Fine
        2. ZOOKEEPER-2620.patch-br3.4
          1 kB
          Abraham Fine

        Issue Links

          Activity

            People

              abrahamfine Abraham Fine
              abrahamfine Abraham Fine
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: