Skip to content

Fixed intermittent failures in ServiceLockIT.testLockSerial - #6514

Merged
dlmarion merged 1 commit into
apache:2.1from
dlmarion:svc-lock-it-flake
Aug 24, 2026
Merged

Fixed intermittent failures in ServiceLockIT.testLockSerial#6514
dlmarion merged 1 commit into
apache:2.1from
dlmarion:svc-lock-it-flake

Conversation

@dlmarion

Copy link
Copy Markdown
Contributor

Removed one line that was checking that the 2nd lock was not holding the lock in ZooKeeper after unlocking the 1st lock. This line of code introduced a race condition in the test. Further down in the test method we expect that the 2nd lock is holding the lock, so that line of code succeeded or failed based on timing.

Removed one line that was checking that the 2nd lock was not
holding the lock in ZooKeeper after unlocking the 1st lock. This
line of code introduced a race condition in the test. Further
down in the test method we expect that the 2nd lock is holding
the lock, so that line of code succeeded or failed based on
timing.
@dlmarion dlmarion added this to the 2.1.7 milestone Aug 24, 2026
@dlmarion dlmarion self-assigned this Aug 24, 2026
@dlmarion
dlmarion merged commit 221fb5f into apache:2.1 Aug 24, 2026
9 checks passed
@dlmarion
dlmarion deleted the svc-lock-it-flake branch August 24, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant