Skip to content

PHOENIX-7824 ConcurrentMutationsExtendedIT fix wrong TimeUnit on doneSignal.await#2441

Open
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7824
Open

PHOENIX-7824 ConcurrentMutationsExtendedIT fix wrong TimeUnit on doneSignal.await#2441
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7824

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 1, 2026

Two call sites in ConcurrentMutationsExtendedIT calls doneSignal.await(ROW_LOCK_WAIT_TIME + 5000, TimeUnit.SECONDS), but ROW_LOCK_WAIT_TIME is the HBase row-lock-wait constant in milliseconds (default 10000). Passing TimeUnit.SECONDS turned the intended 15-second wait into a 4+ hour timeout. Additionally, the return value of await was unchecked, allowing silent under-completion to bypass the verification phase and let the test "pass" by accident.

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