Skip to content

KAFKA-12892: Use dedicated root in ZK ACL test (#10821)#11

Merged
sakibguy merged 1 commit into
sakibguy:trunkfrom
apache:trunk
Jun 6, 2021
Merged

KAFKA-12892: Use dedicated root in ZK ACL test (#10821)#11
sakibguy merged 1 commit into
sakibguy:trunkfrom
apache:trunk

Conversation

@sakibguy

@sakibguy sakibguy commented Jun 6, 2021

Copy link
Copy Markdown
Owner

Having the testChrootExistsAndRootIsLocked test in a separate ZookeeperTestHarness isn't enough to prevent the ACL changes to the ZK root from affecting other integration tests. So instead, let's use a dedicated znode for this test. It still works because makeSurePersistentPathExists uses createRecursive, which will recurse and act the same for the root or a given znode.

Reviewers: Manikumar Reddy manikumar.reddy@gmail.com

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Having the `testChrootExistsAndRootIsLocked` test in a separate `ZookeeperTestHarness` isn't enough to prevent the ACL changes to the ZK root from affecting other integration tests. So instead, let's use a dedicated znode for this test. It still works because `makeSurePersistentPathExists` uses `createRecursive`, which will recurse and act the same for the root or a given znode.

 Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>
@sakibguy sakibguy added bug Something isn't working documentation Improvements or additions to documentation labels Jun 6, 2021
@sakibguy sakibguy self-assigned this Jun 6, 2021
@sakibguy sakibguy merged commit a678bec into sakibguy:trunk Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants