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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.9, 3.5.2
    • Fix Version/s: 3.4.10, 3.5.3, 3.6.0
    • Component/s: tests
    • Labels:
      None

      Description

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

      After debugging test failures Michael Han 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: